Skip to main content

Compiled components to speed up skl-groups.

Project description

Travis

skl-groups

skl-groups is a package to perform machine learning on sets (or “groups”) of features in Python. It extends the scikit-learn library with support for either transforming sets into feature vectors that can be operated on with standard scikit-learn constructs or obtaining pairwise similarity/etc matrices that can be turned into kernels for use in scikit-learn.

For an introduction to the package, why you might want to use it, and how to do so, check out the documentation.

skl-groups is still in fairly early development. The precursor package, py-sdm, is still somewhat easier to use for some tasks (though it has less functionality and less documentation); skl-groups will hopefully match it in the next few weeks. Feel free to get in touch (dsutherl@cs.cmu.edu) if you’re interested.

Installation

Full instructions are in the documentation, but the short version is to do:

$ conda install -c https://conda.binstar.org/dougal skl-groups

if you use conda, or:

$ pip install skl-groups

if not. If you pip install and want to use the kNN divergence estimator, you’ll need to install either cyflann or the regular pyflann bindings to FLANN, and you’ll want a version of FLANN with OpenMP support.

A much faster version of the kNN estimator is enabled by the skl-groups-accel package, which you can get via:

$ pip install skl-groups-accel

It requires cyflann and a working C compiler with OpenMP support (i.e. gcc, not clang).

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

skl-groups-accel-0.1.4.tar.gz (137.0 kB view details)

Uploaded Source

File details

Details for the file skl-groups-accel-0.1.4.tar.gz.

File metadata

File hashes

Hashes for skl-groups-accel-0.1.4.tar.gz
Algorithm Hash digest
SHA256 593c83261b2411dfab3141776e0289640891b1ef1d9484ebf8d608b496e31b45
MD5 06cb9df2f0810eb983ee3f8014387dd8
BLAKE2b-256 aa661c86f0fa38ea7e667555a41e6d35522c259586f01b0d9b8afaaccced0ae4

See more details on using hashes here.

Supported by

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