⚠️ This project is no longer maintained. We will not be providing fixes or updates, but pull requests for fixes are welcome.
ml-lib is a library of machine learning externals for Max and Pure Data. ml-lib is primarily based on the Gesture Recognition Toolkit by Nick Gillian ml-lib is designed to work on a variety of platforms including OS X, Windows, Linux, on Intel and ARM architectures.
The goal of ml-lib is to provide a simple, consistent interface to a wide range of machine learning techniques in Max and Pure Data. The canonical NIME 2015 paper on ml-lib can be found here.
Full class documentation can be found here.
Please use the GitHub Issue Tracker for all bug reports and feature requests.
The library has currently been tested on Mac OS X with Max 7 and 8 and on Mac OS X and Linux on i386 and armv6 architectures using Pure Data.
Bugs should be reported via the issues page.
Instructions for compiling ml-lib from source can be found here
ml-lib objects follow the naming convention ml.*
where “*” is an abbreviated form of the algorithm implemented by the object.
A full list of all objects and their parameters can be found here.
For more detailed descriptions of the underlying algorithms, see links below.
Objects fall into one of five categories:
x
and y
dimensions of hand position to a single dimension representing the distance from origin (0, 0).No objects currently implemented
No objects currently implemented
ml.minmax
: output a vector of minima and maxima locations (peaks) from an input vectorml.adaboost
: Adaptive Boostingml.dtw
: Dynamic Time Warpingml.gmm
: Gaussian Mixture Modelml.hmmc
: Hidden Markov Modelsml.knn
: k’s Nearest Neighbourml.mindist
:Minimum Distanceml.randforest
: Random Decision Forestml.softmax
: Softmaxml.svm
: Support Vector Machinesml.linreg
: Linear Regressionml.logreg
: Logistic Regressionml.ann
: Multi-layer Perceptronml.mulreg
: Multiple RegressionSee the help file for each component for further details about operation and usage.
This software has been designed and developed by Ali Momeni and Jamie Bullock. The [Gesture Recognition Toolkit](http://nickgillian.com/grt/index.html is developed by Nick Gillian
ml-lib is supported by Art Fab, the College of Fine Arts and The Frank-Ratchye STUDIO for Creative Inquiry at Carnegie Mellon University
Special thanks to Niccolò Granieri for testing and assistance.
ml-lib is copyright (c) 2014 Carnegie Mellon University.
ml-lib is distributed under the GNU General Public License version 2. A copy of this is available in the accompanying LICENSE file. See also http://www.gnu.org/licenses/.