Skip to main content

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


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)

Uploaded CPython 3.7m Windows x86-64

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