Code Monkey home page Code Monkey logo

nslr's Introduction

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

Note: The cpp code is not compatible with gcc 5 (default for Ubuntu 14.04). We recommend using gcc 7 or higher.

Usage

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

nslr's People

Contributors

bleckers avatar jampekka avatar jojodevel avatar papr avatar romanroibu avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nslr's Issues

Remove slow nslr option

The cpp version should be used in all cases. Having the fallback version makes it less clear if a possible installation succeeded. By removing the slow nslr option, the installation fails earlier and allows the user to react appropriately.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.