
Prepare for machine learning and data science interviews with a structured review of the math and algorithms behind common models. Lessons take one concept at a time, such as gradient descent, the bias-variance trade-off or backpropagation, and explain what it means and how it works, with visual explanations and worked examples. The aim is to help you explain the math behind a model in your own words.
The sections build from the first definitions of machine learning to neural networks.
Machine learning foundations
Supervised, unsupervised and reinforcement learning; training, validation and test sets; overfitting and underfitting; the bias-variance trade-off; cross-validation; and data leakage.
Data preparation and features
Handling missing values, feature scaling with standardization and normalization, encoding categorical variables, feature engineering and feature selection, and imbalanced classes.
Regression and optimization
Linear regression, MSE and MAE loss functions, gradient descent and the learning rate, L1 lasso and L2 ridge regularization, and logistic regression.
Model evaluation
The confusion matrix; precision, recall and F1 score; the ROC curve and AUC; choosing a classification threshold; RMSE, MAE and R² for regression; and hyperparameter tuning.
Classic machine learning algorithms
k-nearest neighbors, Naive Bayes, decision trees with Gini impurity and entropy, bagging and random forests, gradient boosting, support vector machines and the kernel trick.
Unsupervised learning
k-means clustering, principal component analysis (PCA), t-SNE and UMAP, and anomaly detection.
Neural networks
The artificial neuron and the perceptron; sigmoid, tanh, ReLU and softmax activation functions; the multilayer perceptron and the forward pass; cross-entropy loss; backpropagation; momentum, RMSProp and Adam optimizers; vanishing and exploding gradients; dropout and batch normalization; and epochs, batch size and early stopping.
How to use the course for revision
Pause after a lesson and explain the concept aloud, as you would to an interviewer. Then rework the example and name one assumption behind the idea. All course resources are in a single download in the first section.
Aspiring data scientists, machine learning engineers, developers and analysts can use the course to prepare for technical interviews or to understand the theory behind the models in the machine learning libraries they already use.