Readme

Scalecast

Scalecast Logo

About

Scalecast helps you forecast time series. Here is how to initiate its main object:

from scalecast.Forecaster import Forecaster

f = Forecaster(
    y = array_of_values,
    current_dates = array_of_dates,
    future_dates=fcst_horizon_length,
    test_length = 0, # do you want to test all models? if so, on how many or what percent of observations?
    cis = False, # evaluate conformal confidence intervals for all models?
    metrics = ['rmse','mape','mae','r2'], # what metrics to evaluate over the validation/test sets?
)

Uniform ML modeling (with models from a diverse set of libraries, including scikit-learn, statsmodels, and tensorflow), reporting, and data visualizations are offered through the Forecaster and MVForecaster interfaces. Data storage and processing then becomes easy as all applicable data, predictions, and many derived metrics are contained in a few objects with much customization available through different modules. Feature requests and issue reporting are welcome! Don’t forget to leave a star!⭐

Documentation

Installation

  • Only the base package is needed to get started:

    • pip install --upgrade scalecast

  • Optional add-ons:

    • pip install tensorflow (for RNN/LSTM on Windows) or pip install tensorflow-macos (for MAC/M1)

    • pip install darts

    • pip install prophet

    • pip install greykite (for the silverkite model)

    • pip install kats (changepoint detection)

    • pip install pmdarima (auto arima)

    • pip install tqdm (progress bar for notebook)

    • pip install ipython (widgets for notebook)

    • pip install ipywidgets (widgets for notebook)

    • jupyter nbextension enable --py widgetsnbextension (widgets for notebook)

    • jupyter labextension install @jupyter-widgets/jupyterlab-manager (widgets for Lab)

Contributing