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 details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for skl-groups-accel-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2ac9eec295edfef549e4b1129052579eb652d8c0d012e752d4fe8d08df838d23
MD5 28723a60d53016726be6d66e1c5609e2
BLAKE2b-256 0bba45a819f16d75029b8e39c4c25d2198d08b10245542a9b4a28adc0bbcc078

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