Skip to main content

Python bindings for sofia-ml

Project description

PySofia

https://travis-ci.org/rth/pysofia.svg?branch=master https://ci.appveyor.com/api/projects/status/jhn2d8n8y836pnj8/branch/master?svg=true

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
  • sklearn >= 0.15
  • six
  • enum34 (for Python versions before 3.4)
  • 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 git+https://github.com/rth/pysofia.git

Methods

pysofia.train_svm

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/rth/pysofia/

License

Apache License 2.0

Authors

PySofia is the work of Fabian Pedregosa, currently maintained by Roman Yurchak. 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.

Filename, size & hash SHA256 hash help File type Python version Upload date
pysofia-0.9.tar.gz (21.8 kB) Copy SHA256 hash SHA256 Source None Oct 19, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page