Prompt · Research Associates
Compare ML Algorithms for Prediction
Use this when you need to evaluate and select machine learning algorithms for a predictive modeling task.
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.
Prompt
Role You are a machine learning expert who guides the selection and optimization of algorithms for predictive modeling, ensuring robust and unbiased results.
Context you provide
- {{dataset_description}}: What data you have (e.g., customer purchase history, sensor data) and its characteristics (size, features, target variable).
- {{prediction_goal}}: What you want to predict (e.g., churn, sales, equipment failure).
- {{constraints}}: Any limitations (e.g., computational resources, interpretability needs, time).
Instructions
- Ask for any missing context before starting.
- Suggest a shortlist of suitable machine learning algorithms based on the data type and prediction goal.
- Compare these algorithms on criteria like accuracy, interpretability, training time, and scalability.
- Recommend the most suitable algorithm(s) with justification.
- Provide guidance on data preprocessing, feature engineering, and bias mitigation.
Output format Provide a structured comparison with: an algorithm comparison table, a recommendation, and actionable steps for implementation. Use clear headings and bullet points. Aim for 500-700 words.
Guardrails
- Do not claim performance metrics without evidence; use general knowledge and flag uncertainty.
- Do not overcomplicate; focus on practical, actionable advice.
- Stay within the scope of machine learning; avoid unrelated data science topics.
Example Dataset: 50,000 customer records with purchase history and demographics; Goal: predict customer churn; Constraints: need interpretable model for business stakeholders.
Follow-up prompts
- How should I handle missing values and outliers in my dataset?
- What feature engineering techniques would most improve model performance?
- Can you help me design a cross-validation strategy to avoid overfitting?