{
 "schema_version": 1,
 "generated": "2026-10-31",
 "id": "amazon-science-chronos-forecasting--plot-a-chronos-forecast-against-the-truth",
 "repo": "amazon-science/chronos-forecasting",
 "repo_url": "https://github.com/amazon-science/chronos-forecasting",
 "repo_slug": "amazon-science-chronos-forecasting",
 "title": "Chart a forecast with its prediction interval",
 "page_title": "How to chart a forecast with its prediction interval with Chronos Forecasting",
 "summary": "Plot history, ground truth and the Chronos-2 forecast band to see where the model is confident.",
 "who": "Anyone who has to show a forecast to other people.",
 "problem": "A table of quantiles does not tell you whether the forecast is sensible.",
 "outcome": "A chart with the history, the forecast and a shaded prediction interval.",
 "steps": [
  "Install the package with `pip install chronos-forecasting` and 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"
 ],
 "agent_prompt": "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.",
 "agents": [
  "claude-code",
  "codex",
  "cursor",
  "gemini-cli"
 ],
 "difficulty": "Beginner",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "The README plotting example uses a single series; group by id when you have many.",
 "category": "Data and analytics",
 "tags": [
  "Data and analytics"
 ],
 "lang": "",
 "requirements": [
  "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"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/amazon-science-chronos-forecasting/plot-a-chronos-forecast-against-the-truth/",
 "md": "https://dedupedai.com/use-cases/amazon-science-chronos-forecasting/plot-a-chronos-forecast-against-the-truth/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/amazon-science-chronos-forecasting--plot-a-chronos-forecast-against-the-truth.json",
 "api_version": "v1"
}
