romanroibu / nslr

C++ implementation of the Naive Segmented Linear Regression algorithm with Python bindings. | Fork of https://gitlab.com/nslr/nslr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Naive Segmented Linear Regression

Implements the NSLR algorithm described in the article [upcoming].

Installation

Currently the preferred way is to install directly from gitlab:

pip install git+https://gitlab.com/nslr/nslr

This will try to build the C++ version, but will (silently, sadly) use the very much slower Python version if the building fails. There's also a version in PyPI, but it installs only the pure-python version:

pip install nslr

Usage

Currently the only "supported" function is nslr.fit_gaze. For usage, see demo.py.

About

C++ implementation of the Naive Segmented Linear Regression algorithm with Python bindings. | Fork of https://gitlab.com/nslr/nslr

License:GNU Affero General Public License v3.0


Languages

Language:C++ 60.8%Language:Python 39.2%