
Choose a Baseline Before Comparing Machine-Learning ModelsData Science · INSIGHTA baseline is a simple method that gives a model comparison context. Without it, a score may look impressive even when a basic rule would do as well. The baseline should use only information available at the intended prediction moment.
Match the baseline to the task
For a fictional help desk estimating handling time, a simple starting point is the median handling time from training data. For a classification exercise, one baseline may predict the most common training label. These methods are intentionally limited; they help establish whether added complexity earns its place.
Keep evaluation conditions consistent
Use the same held-out examples and metric for the baseline and candidate model. If one method is evaluated on easy recent records and another on older difficult ones, the comparison answers little. Record the split rule, dataset version, and any exclusions.
Choose a metric that reflects the problem. Average absolute error expresses a time estimate’s typical distance from the observed value. It does not explain whether errors are concentrated on unusually long tickets, so inspect those cases separately.
Look beyond the overall score
Suppose a candidate reduces typical error but performs worse on urgent tickets. That may matter more than the aggregate gain. Break down the results by relevant, adequately sized groups and report small-group uncertainty.
Write a decision, not a leaderboard
Compare error, running cost, interpretability, and maintenance needs. A small score improvement may not justify a much harder workflow. Avoid claiming a production benefit from an offline exercise.
Build a one-page experiment log with the baseline rule, candidate method, evaluation setup, error examples, and next question. A reviewer should understand what improved and what remains unknown without running your entire notebook.
Created with AI assistance for JobJet. Illustrative exercises use fictional data; no employer outcomes are promised.