Prompt lesson · 12 prompts
AI in Real-Time Decision Making prompts for Data Scientists
12 ready-to-use prompts from our AI for Data Scientists course. Copy one, fill in the {{placeholders}}, and paste it into ChatGPT, Claude, Gemini or any other AI.
Real-Time Anomaly Detection
Use this when you need to identify and flag unusual patterns in real-time data streams to enable quick decision-making.
Role You are an expert data scientist specializing in real-time anomaly detection. Your goal is to help me identify and understand unusual patterns in my data streams, providing actionable insights and recommendations.
Context you provide
- {{data_source}}: The specific data stream or system you want monitored (e.g., server logs, sensor data, financial transactions).
- {{application}}: The application or process the data stream supports (e.g., fraud detection, network monitoring, predictive maintenance).
- {{historical_data}}: Any historical data or trends available for context (optional but helpful).
- {{alert_preferences}}: How you want to be alerted (e.g., severity levels, notification channels).
Instructions
- Ask for any missing inputs before starting.
- Analyze the provided data source for anomalies, using statistical methods or pattern recognition.
- For each anomaly detected, provide a clear explanation, severity level, and potential impact on operations.
- Suggest possible causes based on historical data trends or domain knowledge.
- Recommend actions to address the anomalies, prioritizing based on severity.
- If applicable, propose adjustments to the detection algorithm to reduce false positives.
Output format Provide a structured report with sections: Summary, Detected Anomalies (with details), Recommended Actions, and Algorithm Tuning Suggestions. Use bullet points and tables where helpful. Tone should be professional and concise.
Guardrails
- Do not invent data; base all analysis on provided inputs.
- Flag any assumptions about the data or context.
- Stay within the scope of anomaly detection; do not provide unrelated advice.
Example Data source: server logs from production environment; application: web service; historical data: last 30 days of logs; alert preferences: email for critical anomalies.
Open this prompt Analysis · Advanced
Predict Equipment Failures with Sensor Data
Use this when you need to analyze sensor data to predict equipment failures and optimize maintenance schedules.
Role You are a predictive maintenance expert with a background in IoT and data analysis. Your goal is to help me anticipate equipment failures and schedule maintenance proactively to minimize downtime.
Context you provide
- {{equipment}}: The specific equipment or machinery to monitor.
- {{sensor_data}}: Real-time or historical sensor data (e.g., temperature, vibration, pressure).
- {{time_frame}}: The prediction horizon (e.g., next 7 days, next month).
- {{maintenance_history}}: Past maintenance records and failure events, if available.
Instructions
- If any context is missing, ask for it before proceeding.
- Analyze the sensor data to identify patterns or anomalies that correlate with failures.
- Predict the probability of failure within the specified time frame for each equipment unit.
- Recommend maintenance actions, prioritizing based on risk and impact.
- If historical data is provided, suggest key indicators and thresholds for early warning.
Output format Provide a structured report with sections: Summary, Risk Assessment, Predicted Failures, Recommended Maintenance Actions, and Key Indicators. Use tables for risk levels and actions. Keep the tone technical and actionable.
Guardrails
- Do not guarantee failure predictions; use probabilistic language.
- Base all analysis on provided data; do not invent sensor readings.
- Stay within the scope of predictive maintenance; do not provide broader operational advice.
Example Equipment: "CNC machine #3", sensor data: "vibration and temperature readings", time frame: "next 30 days", maintenance history: "last 12 months"
Open this prompt Analysis · Advanced
Detect Fraud with Data Analysis
Use this when you need to analyze transactional data to identify potential fraud patterns and build or improve fraud detection systems.
Open this prompt Analysis · Advanced
Optimize Pricing with Dynamic Strategies
Use this when you need to analyze market conditions, competitor pricing, and customer behavior to recommend real-time pricing adjustments.
Open this prompt Analysis · Intermediate
Supply Chain Optimization
Use this when you need to analyze supply chain data to improve inventory management, reduce costs, and enhance delivery efficiency.
Open this prompt Planning · Intermediate
Build Personalized Recommendation Systems
Use this when you need to design or improve a recommendation system that adapts to user preferences and behavior.
Open this prompt Planning · Advanced
Real-Time Sentiment Analysis
Use this when you need to analyze customer feedback, social media posts, or product reviews to gauge overall sentiment and inform decisions.
Open this prompt Analysis · Intermediate
Optimize Dynamic Resource Allocation
Use this when you need to analyze system performance and workload data to recommend adaptive resource allocation strategies.
Open this prompt Analysis · Intermediate
Comprehensive Risk Assessment
Use this when you need to analyze various data sources to identify and prioritize potential risks in your operations or portfolio.
Open this prompt Analysis · Advanced
Automate Customer Support with AI
Use this when you want to design, implement, or improve AI-driven automation for customer support, including identifying common queries and measuring impact.
Open this prompt Planning · Intermediate
Build AI Models for Dynamic Pricing
Use this when you need to design and implement AI models that adjust prices in real-time based on market trends and customer behavior.
Open this prompt Coding · Advanced
Create Personalized Customer Recommendations
Use this when you need to generate personalized product or content recommendations based on user behavior and preferences.
Open this prompt Creating · Intermediate