Prompt lesson · 18 prompts
Machine Learning Integration prompts for Software Engineers
18 ready-to-use prompts from our AI for Software Engineers course. Copy one, fill in the {{placeholders}}, and paste it into ChatGPT, Claude, Gemini or any other AI.
Automate Product Tagging with Vision
Use this when you need to build an image recognition system to automatically tag and categorize products for e-commerce or inventory management.
Role You are a computer vision engineer specializing in deep learning for e-commerce. Your goal is to design a reliable and scalable image recognition system for automated product tagging.
Context you provide
- {{use_case}}: Specific application (e.g., e-commerce product tagging, inventory management).
- {{image_data}}: Description of the product images (e.g., number, quality, variety, backgrounds).
- {{tag_categories}}: The predefined set of tags or categories to assign.
- {{integration_requirements}}: How the system will be integrated (e.g., existing e-commerce platform, API).
Instructions
- Ask for missing context before starting.
- Based on the use case and image data, recommend a suitable deep learning architecture (e.g., CNN, ResNet, Vision Transformer).
- Outline a data preparation strategy, including labeling, augmentation, and handling imbalanced categories.
- Describe the model training process, including transfer learning options and evaluation metrics.
- Suggest methods for improving tagging accuracy, such as ensemble models or incorporating product metadata.
- Discuss integration considerations, including API design, latency, and scalability.
- Address common challenges like poor image quality, occlusions, or new product types.
Output format Provide a comprehensive system design document with sections: Executive Summary, Data Strategy, Model Architecture, Training & Evaluation, Integration Plan, Challenges & Solutions. Use clear, technical language with practical recommendations.
Guardrails
- Do not assume specific image data characteristics; base recommendations on the user's description.
- Flag any assumptions about the tag categories or integration environment.
- Stay focused on image recognition for tagging; do not provide unrelated business advice.
Example
- {{use_case}}: E-commerce product tagging; {{image_data}}: 500k product photos on white background, varying quality; {{tag_categories}}: 50 product types (e.g., shoes, shirts, electronics); {{integration_requirements}}: REST API for real-time tagging.
Open this prompt Creating · Advanced
Build Churn Prediction Model
Use this when you need to develop a machine learning model to identify customers at risk of churning and suggest retention strategies.
Role You are a data scientist specializing in customer analytics and churn prediction. Your goal is to design a predictive model that accurately identifies at-risk customers and provides actionable retention insights.
Context you provide
- {{customer_data}}: Historical customer data including behavior, usage, demographics, and engagement metrics.
- {{churn_definition}}: How churn is defined (e.g., no purchase for 90 days, subscription cancellation).
- {{business_context}}: Industry, product type, and any known retention strategies.
- {{data_constraints}}: Any limitations on data availability or quality.
Instructions
- Ask for missing inputs if not provided.
- Analyze the customer data to identify key features and patterns associated with churn.
- Segment customers based on behavior and usage to tailor retention strategies.
- Recommend a machine learning model (e.g., logistic regression, random forest, XGBoost) and explain why.
- Outline the training and validation process, including handling class imbalance.
- Provide actionable insights and personalized retention strategies for each segment.
- Suggest metrics to evaluate model performance (e.g., AUC, precision, recall).
Output format
- A structured report with sections: Data Overview, Feature Analysis, Segmentation, Model Recommendation, Training Plan, Retention Strategies, and Evaluation Metrics.
- Use tables for feature importance and segment summaries. Keep the tone analytical and business-oriented.
Guardrails
- Do not fabricate customer data; base analysis on provided information.
- Flag any assumptions about churn definition or data quality.
- Stay focused on churn prediction and retention; do not expand into other business areas.
Example
- {{customer_data}}: "Subscription service with monthly usage logs, support tickets, and demographics." {{churn_definition}}: "Cancellation within next 30 days." {{business_context}}: "SaaS company, current retention strategies include email campaigns." {{data_constraints}}: "No access to payment data."
Open this prompt Analysis · Advanced
Build Fraud Detection System
Use this when you need to design a machine learning-based system to identify and prevent fraudulent activities in your domain.
Open this prompt Creating · Advanced
Build Recommendation Engine
Use this when you need to design a personalized recommendation engine that leverages user behavior data to suggest relevant products, content, or services.
Open this prompt Creating · Advanced
Customer Feedback Sentiment Analysis
Use this when you need to analyze customer feedback from various sources to uncover sentiment patterns and actionable insights for improving products or services.
Open this prompt Analysis · Intermediate
Customer Segmentation Analysis
Use this when you need to segment your customer base for targeted marketing and personalized experiences.
Open this prompt Analysis · Intermediate
Design Automated Content Moderation
Use this when you need to design a machine learning-based system to automatically detect and filter inappropriate or harmful user-generated content.
Open this prompt Creating · Advanced
Develop Dynamic Pricing Model
Use this when you need to create a data-driven pricing strategy that adapts to market changes and customer behavior.
Open this prompt Analysis · Advanced
Enhance Support with NLP
Use this when you want to apply natural language processing to improve customer support operations, such as categorizing inquiries, analyzing sentiment, or building a knowledge base.
Open this prompt Analysis · Intermediate
Evaluate Model Performance
Use this when you need to assess the performance of a machine learning model and identify specific improvements.
Open this prompt Analysis · Intermediate
Optimize Model Hyperparameters
Use this when you need to systematically improve your machine learning model's performance by finding the best hyperparameters.
Open this prompt Planning · Intermediate
Plan ML Model Deployment
Use this when you need to develop a deployment strategy for machine learning models in production environments, ensuring reliability and performance.
Open this prompt Planning · Advanced
Predict Equipment Maintenance
Use this when you need to develop a predictive maintenance model to forecast equipment failures and optimize maintenance schedules.
Open this prompt Planning · Advanced
Preprocess Unstructured Text Data
Use this when you need to clean and standardize unstructured text data from various sources to prepare it for analysis or machine learning.
Open this prompt Analysis · Intermediate
Select Best ML Model
Use this when you need to choose the most suitable machine learning model for a specific task and dataset.
Open this prompt Decisions · Intermediate
Select Key Model Features
Use this when you need to identify the most impactful variables for a machine learning model to improve accuracy and interpretability.
Open this prompt Analysis · Intermediate
Supply Chain Optimization
Use this when you need to optimize inventory management and logistics using machine learning and data analysis.
Open this prompt Analysis · Advanced
Voice Interface Speech Recognition
Use this when you need to design or improve a speech recognition system for voice-controlled interfaces, focusing on accuracy and user experience.
Open this prompt Creating · Advanced