Who it is forAnyone who has to show a forecast to other people.
The problemA table of quantiles does not tell you whether the forecast is sensible.
The outcomeA chart with the history, the forecast and a shaded prediction interval.
What you need first
- Python with pip and `pip install chronos-forecasting`
- pandas with pyarrow for the DataFrame examples
- A CUDA GPU for the README example, which sets device_map to cuda
Steps
- Install the package with
pip install chronos-forecastingand matplotlib as the README notes - Produce pred_df with pipeline.predict_df and quantile_levels of 0.1, 0.5 and 0.9
- Plot the last part of the history, the ground truth and pred_df["predictions"] as the README example does
- Shade the interval with plt.fill_between across the 0.1 and 0.9 columns
Prompt for your agent
With amazon-science/chronos-forecasting, produce a Chronos-2 forecast for <my series> and save a chart showing history, ground truth and the 10 to 90 percent band.
Caveat. The README plotting example uses a single series; group by id when you have many.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for amazon-science/chronos-forecasting and "Chart a forecast with its prediction interval"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer