svmlight-loader icon indicating copy to clipboard operation
svmlight-loader copied to clipboard

Fast and memory-efficient svmlight / libsvm file loader for Python.

.. -- mode: rst --

svmlight-loader

This is a fast and memory efficient loader (and dumper...) for the svmlight / libsvm sparse data file format in Python.

Install

To install for all users on Unix/Linux::

python setup.py build sudo python setup.py install

API

The projects follows the same API as scikit-learn:

http://scikit-learn.org/dev/datasets/index.html#datasets-in-svmlight-libsvm-format

Unsupported features: multilabel, query_id, reading from file objects.

Public datasets

Public datasets in svmlight / libsvm format available at http://www.csie.ntu.edu.tw/~cjlin/libsvmtools/datasets/

License

Simple BSD.

Authors

Mathieu Blondel and Lars Buitinck