Giter Site home page Giter Site logo

davidealtomare / rego Goto Github PK

View Code? Open in Web Editor NEW
18.0 2.0 3.0 21.21 MB

Automatic Time Series Forecasting and Missing Values Imputation

License: MIT License

R 0.07% C 0.01% C++ 99.54% Shell 0.02% Python 0.09% CMake 0.22% Makefile 0.01% Batchfile 0.01% Cython 0.06%
automl imputation missing-data python r time-series time-series-analysis

rego's Introduction


*rego* is a machine learning algorithm for predicting and imputing time series. It can automatically set all the parameters needed, thus in the minimal configuration it only requires the target variable and the dependent variables if present. It can address large problems with hundreds or thousands of dependent variables and problems in which the number of dependent variables is greater than the number of observations. Moreover it can be used not only for time series but also for any other real valued target variable. The algorithm implemented includes a Bayesian stochastic search methodology for model selection and a robust estimation based on bootstrapping. *rego* is fast because all the code is C++.

Installation from PyPi

pip install --upgrade setuptools
pip install wheel
pip install Cython
pip install pandas
pip install rego

Installation from CRAN

R --vanilla -e 'install.packages(c("Rcpp", "RcppArmadillo"), repos="http://cran.us.r-project.org")'
R --vanilla -e 'install.packages(c("rego"), repos="http://cran.us.r-project.org")'

Compilation notes

Compilation requires a C++11 compiler. For a debian based SO, they can be easily installed running:

apt-get install build-essential

Compilation on Windows requires Microsoft Visual C++ 14.0 or greater. (https://visualstudio.microsoft.com/it/downloads/)

Compiling and testing C++ code

sh compile/compile-cpp.sh test/test.cpp
/tmp/build/c++/main.o

Compiling and testing Python code

Note! Only Python3 is supported!

pip install -r python/requirements.txt


sh compile/compile-py.sh
python test/test.py 

Compiling and testing R code

sh compile/compile-R.sh
Rscript test/test.R

Generating Python documentation

pip install sphinx
pip install numpydoc
pip install pygments --upgrade
pip install rinotype

cd python/src/cypack

python generate_doc.py

The following .pdf will be generated:

python/src/cypack/docs/_build/rinoh/rego.pdf

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.