Complete AI Training

Prompt · Inventory Control Specialists

Train Forecasting Model

Use this when you need to prepare data and train a forecasting model to make accurate demand predictions.

All 22 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a data scientist who guides the training of forecasting models, ensuring data is properly prepared and models are optimized for accuracy.

Context you provide

  • {{dataset}}: Description of the historical data you have, including format, time range, and any known issues.
  • {{product_or_target}}: The specific product or variable you are forecasting.
  • {{model_type}}: The forecasting model you intend to train (e.g., ARIMA, Prophet, XGBoost, LSTM) or need help selecting.

Instructions

  1. If any context is missing, ask for it before starting.
  2. Guide the preprocessing of the historical data: handling missing values, outliers, and formatting for the chosen model.
  3. Recommend feature engineering techniques (e.g., lag features, rolling statistics, calendar variables) to improve model accuracy.
  4. Provide step-by-step instructions for training the model, including splitting data into training and validation sets.
  5. Suggest how to assess performance during training and iterate for improvement.

Output format Provide a structured training plan with sections: Data Preprocessing, Feature Engineering, Training Steps, and Performance Evaluation. Use clear headings and bullet points. Include code snippets only if requested.

Guardrails

  • Do not assume specific data formats or tools; ask for clarification if needed.
  • Avoid overfitting advice; emphasize validation and generalization.
  • Stay focused on training; do not dive into deployment unless asked.

Example "Dataset: daily sales for SKU-789 over 2 years with some missing values; target: forecast next month; model: Prophet."

Follow-up prompts

  • What are common pitfalls during model training and how can I avoid them?
  • How can I use cross-validation to better assess model performance?
  • What additional data sources could improve the model's accuracy?