Skip to content
Log inGet startedHugging FaceGitHub

Get started

Quickstart

Install the library, then make your first forecast. The first run downloads the model (42 MB) after the one-time license step.

Terminal window
pip install yhatmodels
import numpy as np
from yhatmodels import ChakraTS
model = ChakraTS.from_pretrained("ChakraTS-OS-10M")
history = 10 + np.sin(np.arange(500) / 24 * 2 * np.pi) # or your own series
fc = model.forecast(history, h=48)

fc has shape (48, 3): the 10%, 50% and 90% quantiles for each of the next 48 steps.