Skip to main content

Python bindings for sofia-ml

Project description

PySofia

PySofia is a python wrapper around the methods present in the C++ sofia-ml library. These include Stochastic Gradient Descent implementations of some ranking algorithms, notably RankSVM.

Dependencies

  • cython >= 0.17 (previous versions will not work)

  • numpy

  • A C++ compiler (gcc will do)

You will not need to install sofia-ml since it is incuded in this distribution

Installation

$ pip install -U pysofia

Methods

pysofia.train_sgd

Trains a model using stochastic gradient descent. See docstring for more details.

pysofia.compat.RankSVM implements an estimator following the conventions used in scikit-learn.

Development

Check out the latest version at github: https://github.com/fabianp/pysofia/

License

Apache License 2.0

Authors

PySofia is the work of Fabian Pedregosa. The sofia-ml library is written by D. Sculley.

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

pysofia-0.8.tar.gz (60.8 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