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
Metadata
Release files for pysofia 0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pysofia-0.9.tar.gz | 21.8 kB | Without provenance | Details for pysofia-0.9.tar.gz |
Release files / pysofia-0.9.tar.gz
| Download URL | pysofia-0.9.tar.gz |
|---|---|
| Size | 21.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3462391dcd84dfbdb15761b2dbdf7868ecbdc0a7f26a6d2be0ee57b1a8ee0e93
|
|
BLAKE2b-256 checksum How to use checksums |
fc8c8fcf26f57e8f0618c5662134fc5b5eab819a023abb9793c54819c21fbcd4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pysofia 0.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.