Skip to main content

Claude/ChatGPT Prompt to Pick the Right ML Model for a New Problem

Pick the right ML model for a new problem fast: get a recommended model family, baseline, evaluation metrics, and data risks your team can build this week.

Füllen Sie die Platzhalter aus

Edit the values, then copy your finished prompt.

Ihr Prompt
prompt.txt

                                

What this prompt does

This prompt asks a senior ML engineer to recommend a concrete modeling approach a team can start building this week — not a survey of every option. You describe the [problem_description], the [dataset_size] and balance, the [latency] budget, and [labels] availability. It returns a decision memo: the problem type stated plainly, three candidate model families with honest tradeoffs, a recommended baseline to ship first, evaluation metrics matched to the business cost of errors, data-prep steps, and the top risks with a guard for each.

The memo format forces a decision instead of a menu. Pinning the [latency] budget and the cost of a wrong prediction up front quietly decides most of the architecture — a p99 under 50ms rules out heavy models before you start. Recommending a simple baseline first earns the right to anything fancier, and tying metrics to error cost stops you from optimizing accuracy when recall is what actually matters. The biggest risk is called out in bold.

When to use it

  • Scoping a new modeling problem and you want a buildable recommendation, not a literature review
  • Deciding among model families given a real [latency] budget
  • Choosing the right first baseline before reaching for something heavy
  • Picking evaluation metrics that reflect the business cost of errors
  • Surfacing leakage, imbalance, and drift risks early with guards
  • Handling a skewed [dataset_size] where the positive class is rare

Example output

You get a short decision memo: a one-line problem-type statement, three model families each with honest tradeoffs for your data and latency, a recommended baseline and why it beats a fancier start, error-cost-aligned metrics with reasoning, data-prep steps including imbalance handling, and a risks section. The single biggest risk appears in bold so it is impossible to skim past.

Pro tips

  • State the cost of a wrong prediction inside [problem_description] — a false negative in fraud costs differently than a false positive, and that shapes the metric choice
  • Give a real [latency] budget like p99 < 50ms; it eliminates whole model families before you waste time on them
  • Include the class balance in [dataset_size] (e.g. 5M rows, 0.3% positive) so the imbalance handling is concrete
  • Describe [labels] honestly — noisy or proxy labels like historical chargebacks change which baseline is realistic
  • Build the recommended baseline first and measure it before considering anything heavier; the memo is structured to push you there
  • Re-run with a tighter [latency] budget to see how the recommendation shifts when real-time constraints bite
  • Read the bolded biggest-risk line first; if that risk applies to your data, address its guard before you write any training code

Frequently Asked Questions

Does it just list every possible model?
No — it gives a concrete recommendation a team can build this week, with three candidate families and one recommended baseline. The memo format deliberately avoids an exhaustive survey, since the point is to decide and start rather than to compare every option in the literature.
Why does it push a simple baseline first?
A simple baseline proves the signal exists before you spend effort on a heavier model. The prompt explains why the baseline beats a fancier start, which protects you from the common, expensive mistake of reaching for a complex architecture that a logistic regression could have matched.
How does it pick evaluation metrics?
It matches metrics to the business cost of errors you imply in `[problem_description]`. For imbalanced problems like fraud, that usually means precision, recall, or PR-AUC rather than raw accuracy, because an aggregate accuracy number hides the rare-class performance that actually matters.
Does it account for class imbalance?
Yes — if you state the balance in `[dataset_size]`, the data-prep section includes handling for it, and imbalance appears among the flagged risks with a guard. The more precisely you give the positive rate, the more concrete that handling becomes.
Engr Mejba Ahmed

Need this built for real?

Engr Mejba Ahmed

AI Developer · Software Engineer

I'm Mejba — I design and ship production AI systems, automations, and full-stack apps. If you want this turned into a working solution for your team, let's talk.

Mehr in AI & Machine Learning Prompts

Engr Mejba Ahmed

Engr Mejba Ahmed

Claude Code Expert · Online

👋

Hey there!

Quick Actions

WhatsApp Instant reply

Chat on WhatsApp

+880 1723 741224 · Instant reply

Popular Questions

Engr Mejba Ahmed is connected
Engr Mejba Ahmed is typing...
Engr Mejba Ahmed avatar

✉ Want me to follow up? Drop your email

Engr Mejba Ahmed avatar

📞 Connect Directly

Choose how you'd like to reach me

WhatsApp

+880 1723 741224

Email

[email protected]

✓ Details sent! I'll get back to you shortly.

Powered by OpenAI

335+

Blog Posts

25

AI Courses

63

Projects

Services & Expertise

Pricing & Process

Learning & Resources

Connect & Support