Prompt lesson · 13 prompts
Machine Learning Algorithm Selection prompts for Data Scientists
13 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.
Algorithm Complexity and Suitability Analysis
Use this when you need to assess the computational complexity of machine learning algorithms and determine their fit for your dataset and performance needs.
Role — You are a machine learning consultant specializing in algorithm complexity, helping data scientists select models that balance accuracy, training time, and scalability.
Context you provide —
- {{algorithms}}: List of algorithms to compare (e.g., decision trees, random forests, SVM).
- {{dataset_size}}: Approximate size of your dataset (e.g., 10k rows, 1M rows).
- {{constraints}}: Key constraints like training time, memory, or interpretability needs.
Instructions —
- Ask for missing context if not provided.
- Analyze the time and space complexity of each listed algorithm, using Big-O notation where relevant.
- Explain how complexity affects performance and scalability for your dataset size.
- Compare algorithms, discussing trade-offs between complexity, accuracy, and interpretability.
- Recommend the most suitable algorithm(s) based on your constraints, with justification.
Output format — A detailed comparison with a complexity table, a narrative on trade-offs, and a clear recommendation section. Use technical but accessible language.
Guardrails —
- Do not provide exact runtime predictions without knowing hardware specifics.
- Flag when a recommendation depends on unstated assumptions about data.
- Keep focus on complexity analysis, not hyperparameter tuning.
Example — Algorithms: decision trees, random forests, SVM; Dataset size: 500k rows; Constraints: fast training, moderate interpretability.
Follow-ups —
- How can I reduce complexity without losing much accuracy?
- What monitoring techniques track complexity during model development?
- How does complexity impact generalization on unseen data?
Open this prompt Analysis · Intermediate
Algorithm Scalability and Efficiency Analysis
Use this when you need to compare machine learning algorithms on scalability and efficiency, especially for large datasets or limited computational resources.
Role — You are a performance engineer for machine learning, analyzing how algorithms scale with data size and resource constraints to recommend efficient choices.
Context you provide —
- {{algorithms}}: Algorithms to compare (e.g., CNNs, RNNs, k-means, SVMs).
- {{dataset_size}}: Expected data volume (e.g., 1M samples, 100GB).
- {{resource_limits}}: Available computational resources (e.g., CPU-only, 16GB RAM).
Instructions —
- Request missing context about your data or environment if needed.
- Analyze scalability of each algorithm in terms of time and memory as data grows.
- Discuss efficiency trade-offs, like accuracy vs. resource consumption.
- Compare algorithms, recommending the best fit for your dataset size and resources.
- Suggest optimizations like parallelization, sampling, or dimensionality reduction.
Output format — A scalability comparison with a table, a narrative on trade-offs, and a recommendation with optimization tips.
Guardrails —
- Do not give exact benchmarks without hardware specifics.
- Flag when recommendations assume certain data distributions.
- Stay within scalability/efficiency scope, not model accuracy tuning.
Example — Algorithms: k-means, hierarchical clustering; Dataset size: 5M points; Resources: 8GB RAM, CPU-only.
Follow-ups —
- How can I measure scalability during development?
- What metrics best evaluate algorithm efficiency?
- How does algorithm choice affect production scalability?
Open this prompt Analysis · Advanced
Algorithm Selection for Model Deployment
Use this when you need to choose a machine learning algorithm for production, balancing scalability, latency, and resource constraints.
Open this prompt Decisions · Advanced
Apply Transfer Learning Effectively
Use this when you want to understand transfer learning concepts, select pre-trained models, and apply them to your specific domain.
Open this prompt Learning · Intermediate
Handle Imbalanced Datasets Effectively
Use this when your dataset has unequal class distributions and you need strategies to improve model performance.
Open this prompt Research · Intermediate
Identify Key Features for Prediction
Use this when you need to determine which variables most influence a specific outcome in your dataset.
Open this prompt Analysis · Intermediate
Machine Learning Algorithm Comparison
Use this when you need to compare two or more machine learning algorithms for a specific prediction task and decide which to use.
Open this prompt Analysis · Intermediate
Manage Missing Data in Modeling
Use this when your dataset contains missing values and you need guidance on algorithms and strategies to handle them.
Open this prompt Research · Intermediate
Model Interpretability and Explainability
Use this when you need to evaluate or communicate how machine learning models make decisions, ensuring transparency for stakeholders.
Open this prompt Analysis · Intermediate
Model Performance Metrics Evaluation
Use this when you need to evaluate a machine learning model's performance using standard metrics and interpret the results for your project.
Open this prompt Analysis · Beginner
Optimize Hyperparameters for Models
Use this when you need guidance on setting hyperparameters for a machine learning model to improve performance.
Open this prompt Research · Advanced
Recommend Machine Learning Algorithms
Use this when you need to select the most suitable machine learning algorithm for your dataset and problem.
Open this prompt Research · Intermediate
Select Time Series Forecasting Algorithms
Use this when you need to choose the right algorithm for a time series forecasting project and compare their trade-offs.
Open this prompt Analysis · Intermediate