Skip to main content

Compiled components to speed up skl-groups.

Project description

This package contains Cython extensions for the skl-groups package. Its purpose is to make skl-groups proper easier to install by not requiring a compiler or having FLANN installed / etc.

It currently contains only a (much) faster implementation of the core portion of skl_groups.divergences.knn.KNNDivergenceEstimator.

Installation

This code is written and tested for Python 2.7, 3.3, and 3.4. 3.2 probably works. It is also only tested on OS X and Linux, though it’s not known not to work on other platforms; let me know if you try it.

To install, first install skl-groups, cyflann, and a recent version of Cython. You’ll also want to use a compiler with OpenMP support, i.e. gcc instead of clang (for now); if clang is your default, make sure to set CC=gcc (or whatever). Then run:

python setup.py install

to install skl-groups-accel.

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.0.tar.gz (137.5 kB view hashes)

Uploaded Source

Supported by

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