Machine Learning Toolkit
Machine Learning in Python
Milk is a machine learning toolkit in Python. Its focus is on supervised classification and on enabling medium scale learning (defined as data that barely fits in main memory).
milk wraps libsvm in a Pythonic way (the models learned have weight arrays that are accessible from Python directly, the models are pickle()able, you can pass any Python function as a kernel,….)
It also supports k-means clustering with an implementation that is careful not to use too much memory (if your dataset fits into memory, milk can cluster it).
It does not have its own file format or in-memory format, which I consider a feature as it works on numpy arrays directly (or anything that is convertible to a numpy-array) without forcing you to copy memory around. For SVMs, you can even just use any datatype if you have your own kernel function.
SVMs. Using the libsvm solver with a pythonesque wrapper around it.
Stepwise Discriminant Analysis for feature selection.
K-means using as little memory as possible.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.