All Projects → microprediction → timemachines

microprediction / timemachines

Licence: MIT license
Predict time-series with one line of code.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to timemachines

microprediction
If you can measure it, consider it predicted
Stars: ✭ 158 (-53.8%)
Mutual labels:  timeseries, time-series, timeseries-data, timeseries-analysis, timeseries-forecasting
tempo
API for manipulating time series on top of Apache Spark: lagged time values, rolling statistics (mean, avg, sum, count, etc), AS OF joins, downsampling, and interpolation
Stars: ✭ 212 (-38.01%)
Mutual labels:  timeseries, time-series, timeseries-data, timeseries-analysis
fireTS
A python multi-variate time series prediction library working with sklearn
Stars: ✭ 62 (-81.87%)
Mutual labels:  time-series, predictive-modeling, time-series-analysis
Tslearn
A machine learning toolkit dedicated to time-series data
Stars: ✭ 1,910 (+458.48%)
Mutual labels:  timeseries, time-series, time-series-analysis
Sweep
Extending broom for time series forecasting
Stars: ✭ 143 (-58.19%)
Mutual labels:  timeseries, time-series, prediction
Neural prophet
NeuralProphet - A simple forecasting model based on Neural Networks in PyTorch
Stars: ✭ 1,125 (+228.95%)
Mutual labels:  timeseries, time-series, prediction
Simplestockanalysispython
Stock Analysis Tutorial in Python
Stars: ✭ 126 (-63.16%)
Mutual labels:  timeseries, time-series, time-series-analysis
Deep XF
Package towards building Explainable Forecasting and Nowcasting Models with State-of-the-art Deep Neural Networks and Dynamic Factor Model on Time Series data sets with single line of code. Also, provides utilify facility for time-series signal similarities matching, and removing noise from timeseries signals.
Stars: ✭ 83 (-75.73%)
Mutual labels:  timeseries, time-series, time-series-analysis
Tsai
Time series Timeseries Deep Learning Pytorch fastai - State-of-the-art Deep Learning with Time Series and Sequences in Pytorch / fastai
Stars: ✭ 407 (+19.01%)
Mutual labels:  timeseries, time-series, time-series-analysis
Stingray
Anything can happen in the next half hour (including spectral timing made easy)!
Stars: ✭ 94 (-72.51%)
Mutual labels:  timeseries, time-series, time-series-analysis
Tsmoothie
A python library for time-series smoothing and outlier detection in a vectorized way.
Stars: ✭ 109 (-68.13%)
Mutual labels:  timeseries, time-series
Griddb
GridDB is a next-generation open source database that makes time series IoT and big data fast,and easy.
Stars: ✭ 1,587 (+364.04%)
Mutual labels:  timeseries, time-series
Kaggle Web Traffic
1st place solution
Stars: ✭ 1,641 (+379.82%)
Mutual labels:  timeseries, time-series
Indicators.jl
Financial market technical analysis & indicators in Julia
Stars: ✭ 130 (-61.99%)
Mutual labels:  timeseries, time-series
Repo 2016
R, Python and Mathematica Codes in Machine Learning, Deep Learning, Artificial Intelligence, NLP and Geolocation
Stars: ✭ 103 (-69.88%)
Mutual labels:  timeseries, time-series-analysis
Doppelganger
[IMC 2020 (Best Paper Finalist)] Using GANs for Sharing Networked Time Series Data: Challenges, Initial Promise, and Open Questions
Stars: ✭ 97 (-71.64%)
Mutual labels:  timeseries, time-series
Gorilla Tsc
Implementation of time series compression method from the Facebook's Gorilla paper
Stars: ✭ 147 (-57.02%)
Mutual labels:  timeseries, time-series
Java Timeseries
Time series analysis in Java
Stars: ✭ 155 (-54.68%)
Mutual labels:  timeseries, time-series
sentometrics
An integrated framework in R for textual sentiment time series aggregation and prediction
Stars: ✭ 77 (-77.49%)
Mutual labels:  time-series, prediction
Tibbletime
Time-aware tibbles
Stars: ✭ 175 (-48.83%)
Mutual labels:  timeseries, time-series

timemachines simplepycarettsa successor darts greykite sktime tbats simdkalman prophet statsforecastorbit neuralprophet pmd pydlm merlion merlion-prophet river divinitypycaret License: MIT

Simple prediction functions (documented and assessed)

Because why not do things in walk-forward incremental fashion with one line of code? Here yt is a vector or scalar, and we want to predict yt (or its first coordinate if a vector) three steps in advance.

 from timemachines.skaters.somepackage.somevariety import something as f
 for yt in y:
     xt, xt_std, s = f(y=yt, s=s, k=3)

This emits a k-vector xt of forecasts, and corresponding k-vector xt_std of estimated standard errors. See skaters for choices of somepackage, somevariety and something. You can also ensemble, compose, bootstrap and do other things with one line of code.

See the docs.

Packages used

Skaters draw on functionality from popular python time-series packages like river, pydlm, tbats, pmdarima, statsmodels.tsa, neuralprophet, Facebook Prophet, Uber's orbit, Facebook's greykite and more. See the docs.

What's a "skater"?

More abstractly:

$$ f : (y_t, state; k) \mapsto ( [\hat{y}(t+1),\hat{y}(t+2),\dots,\hat{y}(t+k) ], [\sigma(t+1),\dots,\sigma(t+k)], posterior\ state)) $$

where $\sigma(t+l)$ estimates the standard error of the prediction $\hat{y}(t+l)$.

If you prefer an legitimate (i.e. stateful) state machine, see FAQ question 1.

Skater function conventions

See docs/interface for description of skater inputs and outputs. Briefly:

  x, w, s = f(   y:Union[float,[float]],             # Contemporaneously observerd data, 
                                                     # ... including exogenous variables in y[1:], if any. 
            s=None,                                  # Prior state
            k:float=1,                               # Number of steps ahead to forecast. Typically integer. 
            a:[float]=None,                          # Variable(s) known in advance, or conditioning
            t:float=None,                            # Time of observation (epoch seconds)
            e:float=None,                            # Non-binding maximal computation time ("e for expiry"), in seconds
            r:float=None)                            # Hyper-parameters ("r" stands for for hype(r)-pa(r)amete(r)s) 

Contributions and capstone projects

Getting live help

  • FAQ.
  • See the Slack invite on my user page here.
  • Office hours here.
  • Learn how to deploy some of these models and try to win the daily $125 prize.

Install instructions

Oh what a mess the Python timeseries ecosystem is. So packages are not installed by default. See the methodical install instructions and be incremental for best results. The infamous xkcd cartoon really does describe the alternative quite well.

Cite

Thanks

    @electronic{cottontimemachines,
        title = {{Timemachines: A Python Package for Creating and Assessing Autonomous Time-Series Prediction Algorithms}},
        year = {2021},
        author = {Peter Cotton},
        url = {https://github.com/microprediction/timemachines}
    }

or something here.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].