Chuyển đến nội dung
Skillpedia
Phân tích và bảng tính33k · #8865

forecast-accuracy-review

Skill này làm gì

Skill này đánh giá chất lượng dự báo nhu cầu và xem quy trình dự báo có thực sự mang lại giá trị hay không. Skill dành cho người lập kế hoạch cung ứng và nhu cầu muốn các con số chính xác trung thực, không chỉ điểm số của mô hình.

Khi nào nên dùng

  • ✓Khi bạn muốn biết các dự báo nhu cầu của mình thực sự chính xác đến mức nào.
  • ✓Khi bạn tự hỏi liệu một công cụ hay quy trình dự báo có đáng công sức không.
  • ✓Khi bạn cần kết quả độ chính xác và độ lệch cho từng nhóm sản phẩm.

Liên kết skill

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/operations/forecast-accuracy-review/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/operations/forecast-accuracy-review/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Kiểm tra xem các dự báo nhu cầu của tôi chính xác đến đâu, và cho tôi biết chúng có tốt hơn việc chỉ dùng doanh số tháng trước không.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent phân tích các mẫu nhu cầu, so sánh với một mốc chuẩn đơn giản, chạy kiểm thử lùi lăn qua các kỳ trước, rồi chấm điểm kết quả bằng các chỉ số như WMAPE và độ lệch.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Forecast Accuracy Review

A forecast is only worth what it adds over the free alternative: shipping last period's number. Every review must answer "how many points does this process add over naive?" before any model discussion.

Required data

Per-SKU demand history at the planning bucket (usually monthly): sku, period, qty. If evaluating an existing forecast, also the forecast values with their creation dates (to avoid hindsight leakage). 18+ periods per SKU for a meaningful backtest; flag SKUs with less.

Workflow

  1. Profile the demand first. Per SKU compute mean, CV and zero-period share; classify smooth / erratic / intermittent / lumpy (defaults: CV 0.5 and 1.0 boundaries, intermittency at >25% zero periods - state them, adjust to natural breaks). Accuracy expectations differ by class; never report one blended number alone.
  2. Set the benchmarks. Naive (last period) always; seasonal naive when 2+ full seasons exist. These are non-negotiable controls.
  3. Backtest rolling-origin. One-step-ahead forecasts for each of the last 6+ periods, expanding window, using only data before each origin. A single train/test split is one lucky draw - do not accept it.
  4. Score with honest metrics:
    • WMAPE = sum(|error|) / sum(actual) - the volume-weighted headline
    • Bias = sum(error) / sum(actual) - direction; a fine WMAPE with persistent bias is quietly building excess stock or stockouts
    • MAPE only as a footnote, and always disclose how many zero-actual periods it dropped
  5. Deliver the FVA verdict. FVA = WMAPE(naive) - WMAPE(candidate), per segment and overall. Negative FVA means the process destroys value - say it plainly.
  6. Validate. Recompute WMAPE for one model directly from the raw backtest rows and confirm it matches the table before presenting.

Pitfalls to check explicitly

  • MAPE with zeros: undefined on zero-actual periods; silently dropping them fakes precision on intermittent SKUs.
  • MAPE asymmetry rewards under-forecasting (errors capped at 100% below, unbounded above).
  • Aggregation mix: a good total can hide terrible A-item accuracy; always show the value-weighted cut.
  • Lumpy segments: if WMAPE > ~100%, the honest recommendation is an inventory-policy answer (buffers, MTO), not a better model.
  • Hindsight leakage: forecasts must predate actuals; check timestamps when auditing an existing process.

Output format

  1. Scoreboard table: model x (WMAPE, bias, MAPE-footnote), sorted by WMAPE
  2. FVA statement: "the process adds/destroys X points vs naive" - overall and per segment
  3. Segment table (pattern x best approach)
  4. Two or three recommendation sentences tied to segments, not globals

Worked example with five baseline models and charts: https://github.com/gulmezeren2-byte/forecast-accuracy-lab


Source: industrial-engineering-ai-skills by Eren Gulmez (MIT). The full method pack - entry skill, role agents, data-hygiene rules and artifact templates - lives there.

Câu hỏi thường gặp

Mốc so sánh đơn giản là gì?

Đó chỉ là dùng số của kỳ trước làm dự báo. Skill yêu cầu so sánh này trước khi đánh giá bất kỳ mô hình nào.

Tại sao không báo một con số chính xác duy nhất?

Độ chính xác khác nhau theo loại nhu cầu, nên skill báo kết quả cho từng nhóm sản phẩm.

Cần bao nhiêu lịch sử?

Khoảng 18 kỳ cho mỗi sản phẩm để kiểm thử lùi có ý nghĩa. Skill đánh dấu các mặt hàng có ít hơn.

Chi tiết

Mô tả gốc của tác giả

Evaluate demand-forecast quality honestly - WMAPE, bias and Forecast Value Added against a naive benchmark over a rolling-origin backtest. Use when the user mentions forecast accuracy, MAPE, demand planning performance, tahmin doğruluğu, talep tahmini, or asks whether a forecasting process or tool is worth it. Differentiator - judges the process (value added vs doing nothing), not just the model.

repo: davila7/claude-code-templates

Độ phổ biến

Sao GitHub
33k
Vị trí xếp hạng
#8865
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự