Skip to main content

Machine Learning Toolkit

Project description

Milk is a machine learning toolkit in Python. Its focus is on supervised classification.

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.

Features

  • 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.

License: MIT Author: Luis Pedro Coelho (with code from LibSVM) Website: http://luispedro.org/software/milk

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

milk-0.3.1.tar.gz (36.6 kB view details)

Uploaded Source

File details

Details for the file milk-0.3.1.tar.gz.

File metadata

  • Download URL: milk-0.3.1.tar.gz
  • Upload date:
  • Size: 36.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for milk-0.3.1.tar.gz
Algorithm Hash digest
SHA256 8539b6acd4b9309de6629e3acadc3d0132009d0022c19d059bd899008dbdcf69
MD5 cd9088715763f4a2b0b5f8a6773bd07b
BLAKE2b-256 841fbe40eb397870ec3cf4eafc4064a3f36b2eeee5a4fd56253f2da9e03a24d8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page