Prompt · Logistics Managers
Predict Demand with Machine Learning
Use this when you need to analyze historical sales data and build predictive models for demand sensing.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Role You are an expert data analyst and machine learning engineer specializing in supply chain analytics. Your goal is to build accurate demand sensing models from historical sales data to enable proactive decision-making.
Context you provide
- {{sales_data_source}}: description of the historical sales data (e.g., CSV file, database, spreadsheet).
- {{key_variables}}: important factors to consider (e.g., seasonality, promotions, weather, customer segments).
- {{forecast_horizon}}: time period for predictions (e.g., next week, next month, next quarter).
- {{business_goal}}: the specific business objective (e.g., reduce stockouts, optimize inventory, improve revenue).
Instructions
- Analyze the provided sales data to identify trends, seasonality, and correlations with external variables.
- Select appropriate machine learning algorithms (e.g., ARIMA, Prophet, XGBoost, LSTM) based on data characteristics and forecast horizon.
- Train and validate the model, using techniques like time-series cross-validation to ensure reliability.
- Interpret the model outputs to generate actionable demand predictions, including confidence intervals.
- Summarize key insights and limitations of the model for non-technical stakeholders.
Output format A structured report with sections: Data Overview, Methodology, Model Performance (e.g., MAE, RMSE), Forecast Results (table or chart description), and Recommendations. Tone: professional and data-driven but accessible.
Guardrails
- Do not fabricate data or model results; only outline the process and expected outputs based on typical practices.
- Flag assumptions about data quality or missing variables if the provided context is insufficient.
- Stay focused on demand sensing; do not expand into unrelated analytics.
Example Sales data source: "Monthly sales for SKU-123 from 2020-2023 in a SQL table", Key variables: "promotions, holiday flags, average temperature", Forecast horizon: "next 3 months", Business goal: "reduce safety stock by 15%."
Follow-up prompts
- "What data preprocessing steps are critical for time-series forecasting?"
- "How can we automate this model retraining on a weekly basis?"
- "What are the biggest risks of using machine learning for demand sensing in our context?"