Nitin Aggarwal introduces the mathematics library behind Spark’s machine learning library, MLlib:
In simple terms, Breeze is a Scala library that extends the Scala collection library to provide support for vectors and matrices in addition to providing a whole bunch of functions that support their manipulation. We could safely compare Breeze to NumPy in Python terms. Breeze forms the foundation of MLlib—the Machine Learning library in Spark
Breeze comprises four libraries:

breezemath: Numerics and Linear Algebra. Fast linear algebra backed by native libraries (via JBlas) where appropriate.

breezeprocess: Tools for tokenizing, processing, and massaging data, especially textual data. Includes stemmers, tokenizers, and stop word filtering, among other features.

breezelearn: Optimization and Machine Learning. Contains stateoftheart routines for convex optimization, sampling distributions, several classifiers, and DSLs for Linear Programming and Belief Propagation.

breezeviz: (Very alpha) Basic support for plotting, using JFreeChart.
Read on for samples and basic usage.
Comments closed