When is machine learning not the answer?
Not every problem needs a machine-learning model. How to choose between rules, statistics and AI, and how to keep an AI system trustworthy once it is live.
- Mehdi Hassanbeigi
- 25 November 2026
- 1 min read

Artificial intelligence is a powerful tool, but not every problem needs a machine-learning model. Sometimes a clear rule, a formula or a well-designed report delivers the same result faster, cheaper and more reliably. Choosing between the two is the first important decision in any AI project.
The challenges
- Not enough labelled data. Without enough correct examples, a model learns noise instead of patterns.
- Decisions must be explainable. In pricing, credit or financial decisions, “the model said so” is not an acceptable answer.
- Hidden maintenance cost. After deployment, a model has to be monitored and retrained as the data changes.
- No definition of success. Without a baseline to compare against, nobody knows whether the model is actually better than the current method.
How we solve it
- Define the decision precisely. We pin down which decision should improve and what a wrong decision costs.
- Build a simple baseline first. Rules or basic statistical methods are implemented and measured before anything else.
- Use a model only when it wins. Machine learning is used only when it clearly beats the baseline on held-out test data.
- Keep a person in the loop. For sensitive decisions, the model makes a suggestion and an expert gives the final approval.
- Monitor after launch. Accuracy and changes in the incoming data are tracked, so a drop in performance is caught early.
For example, in the pricing management system I built for an importer, prices are calculated with fixed formulas approved by management and AI never sets a price, because there, transparency and an audit trail mattered more than anything else.
- Artificial intelligence
- Machine learning
- Decision making



