30. The Machine Learning Workflow Step by Step
30.4 Common Workflow Mistakes Beginners Make
Why. Most beginner pain is workflow, not maths.
What / How — common mistakes
Avoid these
- Train on all rows, then “test” on the same rows. Scores look perfect; real life fails. Fix: Chapter 31 split.
- Skip cleaning. Garbage features → confident wrong guesses.
- Change the label definition halfway. “Late” was 20 minutes, then silently 30.
- Leak future columns. Using “actual delivery minutes” as a feature to predict lateness (Chapter 32 leakage).
- Ship without evaluate. Demo on one happy row is not evaluate.
# Bad vs better habit (pseudo checklist)
bad = ["fit on all rows", "no clean step", "label changed quietly"]
better = ["split first", "clean then features", "write label definition in notebook"]
print("Avoid:", bad)
print("Prefer:", better)
Ravindra Bagale's Tip
Ek common chuk: accuracy 99% notebook madhe, production madhe crash. Split + evaluate missing asel. Dhyan rakho!