Phase 3 of 6
Training and Evaluating Models
Usually 2–3 months
Shifts from descriptive analysis to predictive work: feature engineering, regression, tree-based models, cross-validation, and metric selection, often via Kaggle or a self-built problem. Ends with at least one project showing a model compared against baselines with honest evaluation.
What you do
Next you move from describing what happened to predicting or classifying. Start with basic models in scikit learn such as linear and logistic regression, decision trees, random forests, and gradient boosted trees. For each project, define a clear target variable, decide on features, and split data into train and validation sets or use cross validation.
Learn how to choose and interpret metrics that match the problem type, such as accuracy, precision and recall, ROC AUC, mean squared error, or mean absolute error. Practice comparing simple baselines like constant predictors or one hot encoded linear models against more complex models, and write down where a model fails, not only where it looks good. Platforms like Kaggle competitions or your own framed problems are good sandboxes for this (kaggle.com).
You are done with this phase when you can point to at least one project, in a repo or Kaggle notebook, where you framed a prediction problem, engineered features, trained models, and showed with documented metrics that your chosen model reliably beats a simple baseline without overfitting. The notebook should read like a careful experiment report rather than a collection of disconnected code cells.
You're done when
A repo or Kaggle notebook showing a validated model beating a baseline with documented metrics.
Resources
Before and after
Track this phase, post your proof, and meet people in the same phase.
Join this road, free →