Machine learning

Months 6–70/5

Train, evaluate and improve models on real data, then practice on Kaggle.

CS50 AI gives you the ideas; this phase gives you the working practice of training, evaluating and improving models on real data. Pick one main course, then practice on Kaggle.

Main course (choose one)

  • Machine Learning Specialization (Andrew Ng; DeepLearning.AI and Stanford, Coursera; about 2–3 months part time). The most popular starting point: clear intuition, light math, Python labs. Audit free or pay for a certificate.
  • Google Machine Learning Crash Course (free, about 15 hours). Fast, practical, good if you're short on time.
  • Stanford CS229 lectures (free on YouTube). The math-heavy route for those who want rigor.

Concepts to master

ConceptWhat you should be able to do
Supervised learningFrame a problem as regression (predict a number) or classification (predict a category)
Core algorithmsExplain and use linear and logistic regression, decision trees, random forests, gradient-boosted trees (XGBoost), k-nearest neighbors
Unsupervised learningUse k-means clustering, PCA for dimensionality reduction, anomaly detection
Train / validation / test splitHold data out properly and explain data leakage
Bias–variance trade-offDiagnose overfitting vs underfitting from learning curves
RegularizationUse L1/L2 penalties, early stopping, cross-validation
Evaluation metricsChoose between accuracy, precision, recall, F1, ROC-AUC, mean squared error; read a confusion matrix
Feature engineeringClean, encode, scale and create features; handle missing values
Recommender systems and reinforcement learningKnow the basic ideas (collaborative filtering; reward, policy, value)

Tools

scikit-learn, pandas, NumPy, matplotlib, and Jupyter or Google Colab notebooks (free GPUs for later phases).

Practice

  • Finish Kaggle Learn's Intro to Machine Learning and Intermediate Machine Learning (free, a few hours each).
  • Enter the Kaggle Titanic and House Prices starter competitions; read top public notebooks after you submit your own.
  • Build one end-to-end project on data you care about: question → data → model → evaluation → a short write-up of what worked and what didn't.

Book (optional): Hands-On Machine Learning with Scikit-Learn, Keras and TensorFlow by Aurélien Géron is the standard practical reference.

Phase 3 checklist0 of 5 done · saved in this browser