Efficient implementations of selected ML algorithms for Python.
Project description
cppyml
Optmised Python extension for machine learning based on the ML C++ library.
Installation
Linux
Build from source using SCons
and install using python setup.py install
:
scons mode=release
cd cppyml
python setup.py install
Windows
Precompiled binaries are available on PyPi.
Example
import numpy as np
from cppyml import linear_regression
n = 25
x = np.random.randn(n)
y = 0.1 * x - 0.9 + 0.2 * np.random.randn(n)
result = linear_regression.univariate(x, y)
See also unit tests.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
cppyml-0.1.2-cp37-cp37m-win_amd64.whl
(209.6 kB
view hashes)
Close
Hashes for cppyml-0.1.2-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b9329b1ca83d641e14d24dccbc61b8daea45610f786d9cb2209be8525f4e3e2 |
|
MD5 | e11b76dfb38eb4ebc161b7c25e358804 |
|
BLAKE2b-256 | f56b788e42b115c997536b3205e0b13c25d710674927da03e77b75218837d81f |