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
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
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
File details
Details for the file pysofia-0.9.tar.gz
.
File metadata
- Download URL: pysofia-0.9.tar.gz
- Upload date:
- Size: 21.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3462391dcd84dfbdb15761b2dbdf7868ecbdc0a7f26a6d2be0ee57b1a8ee0e93 |
|
MD5 | ba325bc2ddb17e69a68d87096dc5a213 |
|
BLAKE2b-256 | fc8c8fcf26f57e8f0618c5662134fc5b5eab819a023abb9793c54819c21fbcd4 |