All Projects â†’ DavisTownsend â†’ magi

DavisTownsend / magi

Licence: MIT License
📈 high level wrapper for parallel univariate time series forecasting 📉

Programming Languages

Jupyter Notebook
11667 projects
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to magi

Neural prophet
NeuralProphet - A simple forecasting model based on Neural Networks in PyTorch
Stars: ✭ 1,125 (+6517.65%)
Mutual labels:  time-series, forecast, forecasting
mlforecast
Scalable machine 🤖 learning for time series forecasting.
Stars: ✭ 96 (+464.71%)
Mutual labels:  time-series, forecast, forecasting
modeltime.ensemble
Time Series Ensemble Forecasting
Stars: ✭ 65 (+282.35%)
Mutual labels:  time-series, forecast, forecasting
Forecastml
An R package with Python support for multi-step-ahead forecasting with machine learning and deep learning algorithms
Stars: ✭ 101 (+494.12%)
Mutual labels:  time-series, forecast, forecasting
Timetk
A toolkit for working with time series in R
Stars: ✭ 371 (+2082.35%)
Mutual labels:  time-series, forecast, forecasting
gpu accelerated forecasting modeltime gluonts
GPU-Accelerated Deep Learning for Time Series using Modeltime GluonTS (Learning Lab 53). Event sponsors: Saturn Cloud, NVIDIA, & Business Science.
Stars: ✭ 20 (+17.65%)
Mutual labels:  time-series, forecast, forecasting
sknifedatar
sknifedatar is a package that serves primarily as an extension to the modeltime 📦 ecosystem. In addition to some functionalities of spatial data and visualization.
Stars: ✭ 30 (+76.47%)
Mutual labels:  time-series, forecasting
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 (+388.24%)
Mutual labels:  time-series, forecasting
SCINet
Forecast time series and stock prices with SCINet
Stars: ✭ 28 (+64.71%)
Mutual labels:  time-series, forecasting
query-selector
LONG-TERM SERIES FORECASTING WITH QUERYSELECTOR – EFFICIENT MODEL OF SPARSEATTENTION
Stars: ✭ 63 (+270.59%)
Mutual labels:  time-series, forecasting
ewstools
Python package for early warning signals (EWS) of bifurcations in time series data.
Stars: ✭ 29 (+70.59%)
Mutual labels:  time-series, forecasting
forecasting models
An overview of univariate time series forecasting models with sample code.
Stars: ✭ 39 (+129.41%)
Mutual labels:  time-series, forecasting
CoronaDash
COVID-19 spread shiny dashboard with a forecasting model, countries' trajectories graphs, and cluster analysis tools
Stars: ✭ 20 (+17.65%)
Mutual labels:  time-series, forecasting
AutoTS
Automated Time Series Forecasting
Stars: ✭ 665 (+3811.76%)
Mutual labels:  time-series, forecasting
notebooks
Code examples for pyFTS
Stars: ✭ 40 (+135.29%)
Mutual labels:  time-series, forecasting
ForestCoverChange
Detecting and Predicting Forest Cover Change in Pakistani Areas Using Remote Sensing Imagery
Stars: ✭ 23 (+35.29%)
Mutual labels:  time-series, forecasting
modeltime.gluonts
GluonTS Deep Learning with Modeltime
Stars: ✭ 31 (+82.35%)
Mutual labels:  time-series, forecasting
timely-beliefs
Model data as beliefs (at a certain time) about events (at a certain time).
Stars: ✭ 15 (-11.76%)
Mutual labels:  time-series, forecast
ts-forecasting-ensemble
CentOS based Docker container for Time Series Analysis and Modeling.
Stars: ✭ 19 (+11.76%)
Mutual labels:  time-series, forecasting
Modeltime
Modeltime unlocks time series forecast models and machine learning in one framework
Stars: ✭ 189 (+1011.76%)
Mutual labels:  time-series, forecasting

magi

Pypi Version https://readthedocs.org/projects/magi-docs/badge/?version=latest License Join the chat at https://gitter.im/magi-gitter/Lobby

Overview

magi is a high level python wrapper around other time series forecasting libraries to allow easily parallelized univariate time series forecasting in python by using dask delayed wrapper functions under the hood. In particular, the library currently supports wrappers to R forecast library and facebook's prophet package

Usage

This is how easy it is to clean, forecast, and then plot accuracy metrics for 100 time seres using the auto arima model from R forecast package

Importing libraries, generate dataframe of series for example, and start local dask cluster

from magi.core import forecast
from magi.plotting import fc_plot, acc_plot
from magi.utils import gen_ts
from magi.accuracy import accuracy
from dask.distributed import Client, LocalCluster
import dask
cluster = LocalCluster()
client = Client(cluster)
df = gen_ts(ncols=100)

cleaning and forecasting for 100 series in parallel, then calculate and plot accuracy metrics by series

fc_obj = forecast(time_series=df,forecast_periods=18,frequency=12)
forecast_df = fc_obj.tsclean().R(model='auto.arima(rdata,D=1,stationary=TRUE)',fit=True)
acc_df = accuracy(df,forecast_df,separate_series=True)
acc_plot(acc_df)

Use Cases

What this package should be used for

  • forecasting for 1 or more Univariate Time Series
  • forecasting using many different time series models in parallel with minimal effort
  • wrapper for R forecast library to implement those models in python workflow
  • wrapper around Prophet library to provide easier data framework to work with
  • single source of access for many different time series forecasting models

What this package should NOT be used for

  • Multivariate Time Series data. If you have multiple x variables that are correlated with your response variable, I'd suggest simply using regression with lags and seasonal variable to account for autocorrelation in your error
  • Data exploration - The time series analysis step is much more suited to using the R forecast package directly

Dependencies

  • dask
  • distributed
  • plotly
  • cufflinks
  • rpy2 (& forecast package >=8.3 installed in R)
  • fbprophet

Installation

$ pip install magi

Documentation

Documentation is hosted on Read the Docs.

Disclaimer

This package is still very early in development and should not be relied upon in production. Everything is still subject to change

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].