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.

The easy way to install is:

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

if you use conda, which includes both skl-groups and skl-groups-accel.

Otherwise, first install skl-groups and cyflann. You’ll also need a compiler with OpenMP support, so gcc (not llvm-gcc) instead of clang (for now). On OSX, do brew install gcc and then set CC=gcc-4.8; Linux users probably have gcc installed, but make sure to set CC if you default to clang. Then you can:

$ pip install skl-groups-accel

or, from a source checkout, python setup.py install or pip install . or whatever. If you’re installing from a source checkout you need a recent version of Cython.

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.1.tar.gz (131.7 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for skl-groups-accel-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f5814e9e02b063ecdb10c5f1073c00486be46cd85ed0c62ac381dc708e1a5aab
MD5 11b19f93ae4ba276420d52c6b28e9da8
BLAKE2b-256 fecc861419e840b51924e48476d7755d11bc898edd38ede80a5ec3d4726df588

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