ML is not a magic upgrade. It is a different tool with different requirements.
You have seen it in the literature: a study replaces logistic regression with a random forest and claims a "novel machine learning approach." The sample is 150 patients and 5 variables. The AUC improves from 0.76 to 0.78.
Was ML the right tool here? Probably not. But how do you know when it is?
Consider two research proposals from the same vascular surgery department:
Proposal A is a strong ML candidate. Proposal B should use traditional statistics. This lesson teaches you why.
The goal is not to use ML everywhere. The goal is to know when ML adds value and when it does not -- and to have the vocabulary to explain why.
ML excels when the problem has specific characteristics that traditional statistics cannot handle well. Tap each card for details.
For structured tabular data with fewer than ~15 variables and a clear outcome, logistic regression is almost always sufficient. ML rarely provides meaningful improvement in this setting and adds complexity. Start simple. Only reach for ML when you have a specific reason it would help.
ML is not always better. Here are the scenarios where reaching for ML is the wrong call.
| Factor | Favors ML | Favors Traditional Stats |
|---|---|---|
| Sample size | Thousands+ | Hundreds or fewer |
| Variables | Many (20+), complex interactions | Few (5-10), known relationships |
| Question type | Prediction | Causal inference |
| Data type | Images, text, mixed | Structured tabular |
| Interpretability | Less critical | Essential |
Even when ML is appropriate, always build a logistic regression baseline first. If your traditional model has an AUC of 0.82 and your random forest has 0.83, the complexity of ML is probably not worth it. ML should earn its place by providing a meaningful improvement, not just a statistically significant one. Many published surgical ML papers show trivial improvements over logistic regression -- and those improvements often disappear with external validation.
The best answer to "should I use ML?" is almost always "start with logistic regression and see if it's good enough." If it is, you are done. If it is not, now you have a baseline to beat.
Read the research proposal. Decide: is ML the right tool, or should they use traditional statistics?
Module 1 - Lesson 5 complete
You now have a complete foundation in ML literacy. You know what ML is (Lesson 1), how it learns (Lesson 2), what it outputs (Lesson 3), what goes into it (Lesson 4), and when to use it (Lesson 5). You are ready to learn how to evaluate whether an ML model is actually any good.