Machine Learning in Python
Milk is a machine learning toolkit in Python.
Its focus is on supervised classification with several classifiers available: SVMs (based on libsvm), k-NN, random forests, decision trees. It also performs feature selection. These classifiers can be combined in many ways to form different classification systems.
For unsupervised learning, milk supports k-means clustering and affinity propagation.
Milk is flexible about its inputs. It optimised for numpy arrays, but can often handle anything (for example, for SVMs, you can use any dataype and any kernel and it does the right thing).
There is a strong emphasis on speed and low memory usage. Therefore, most of the performance sensitive code is in C++. This is behind Python-based interfaces for convenience.
New in 0.3.6
Unsupervised (1-class) kernel density modeling
Fix for when SDA returns empty
weights option to some learners
stump learner
Adaboost (result of above changes)
New in 0.3.5
Fixes for 64 bit machines
Functions in measures.py all have same interface now.
New in 0.3.4
Random forest learners
Decision trees sped up 20x
Much faster gridsearch (finds optimum without computing all folds)
Features
Random forests
Self organising maps
SVMs. Using the libsvm solver with a pythonesque wrapper around it.
Stepwise Discriminant Analysis for feature selection.
Non-negative matrix factorisation
K-means using as little memory as possible.
Affinity propagation
License: MIT Author: Luis Pedro Coelho (with code from LibSVM and scikits.learn) Website: http://luispedro.org/software/milk API Documentation: http://packages.python.org/milk/
Metadata
Release files for milk 0.3.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| milk-0.3.7.tar.gz | 49.0 kB | Details |
Release files / milk-0.3.7.tar.gz
| Download URL | milk-0.3.7.tar.gz |
|---|---|
| Size | 49.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
25fcc011c8f02f4aef4a0444c53c6176a8c107b32f4b905daaa0b8f3975d446b
|
|
BLAKE2b-256 checksum How to use checksums |
8d62729aaa44050aef3d87b0c6a00651d67511508991bc3a9b0338f8a4026222
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |