The Ohio State University ECE 5307
Professor Schniter · The Ohio State University · 34 lectures with notes
Every lecture with its full transcript and chapters, and one search across all 34 lectures.
Lecture 1a
Machine learning depends on both mathematical fluency and practical coding, with linear algebra serving as essential course groundwork.
Lecture 1b
A practical linear algebra review connects matrix properties to index-based techniques for rewriting sums as matrix products.
Lecture 2a
A step-by-step introduction to linear regression, from Auto MPG data and matrix notation to least-squares loss and gradients.
Lecture 2b
The least-squares coefficients follow from setting the RSS gradient to zero, while covariance statistics reveal how features relate to targets.
Lecture 2c
Least-squares slopes come from feature-target cross-covariance adjusted by feature covariance, while R² measures normalized fit.
Lecture 2d
Linear regression can use transformed and categorical features, but training fit alone cannot reveal whether a model generalizes.
Lecture 3a
Use cross-validation and the one-standard-error rule to select a polynomial degree without fitting training noise.
Lecture 3b
Cross-validation selects model complexity, while probability and statistical MSE set up the bias-variance analysis.
Lecture 3c
Prediction error decomposes into irreducible noise, squared bias, and variance, with model complexity trading lower bias for higher variance.
Lecture 3d / 4a
Feature selection balances prediction error and model complexity through cross-validation, greedy search, regularization, and standardization.
Lecture 4b
Ridge stabilizes correlated-feature models, while lasso selects features; validate a debiased lasso-plus-least-squares pipeline.
Lecture 4c
Gaussian-noise maximum likelihood yields least squares, while coefficient priors turn MAP estimation into ridge or lasso.
Lecture 5a
Binary logistic regression turns a linear score into class probabilities and fits its boundary with maximum likelihood rather than least squares.
Lecture 5c / 6a
Threshold choice, ROC/AUC, and imbalance-aware training shape reliable classification evaluation before gradient optimization begins.
Lecture 6b
First-order Taylor approximation unifies gradient-based local models and reveals the gradient as the direction of steepest increase.
Lecture 6c
Gradient descent follows negative gradients; the multivariable chain rule makes logistic-regression gradients computable and implementable.
Lecture 6d
A practical guide to checking gradients, tuning step sizes, and understanding when convexity guarantees a global minimum.
Lecture 7a
Hidden-layer nonlinearities let neural networks learn features that make otherwise nonlinearly separable data classifiable.
Lecture 7b
How MLPs learn nonlinear features and how mini-batch SGD makes their training computationally practical.
Lecture 7c
A step-by-step derivation of mini-batch SGD and backpropagation from scalar networks to vector and matrix parameters.
Lecture 7d
How vectorized backpropagation maps to a complete PyTorch mini-batch training loop.
Lecture 7e
Practical techniques for training deep networks, from PyTorch and normalization to learning-rate schedules and double descent.
Lecture 7f
A 500-unit-per-layer MLP reaches 98.8% MNIST test accuracy, illustrating how architecture and training choices shape performance.
Lecture 8a
Ensembles gain accuracy by combining diverse predictors, with bagging and feature randomization providing practical ways to create that diversity.
Lecture 8b
Stacking learns how to combine cross-validated base predictions, while random forests reduce the high variance of individual decision trees.
Lecture 8c
AdaBoost, gradient boosting, and XGBoost build ensembles sequentially, with each method refining earlier predictions in a different way.
Unit 9a
Character embeddings make longer-context text prediction practical, setting up attention and transformers.
Lecture 9c
Transformers use attention, position information, and causal masks to turn token sequences into context-aware predictions.
Lecture 9d
Attention builds contextual meaning from token embeddings, while transformer MLPs may encode facts and image tokenizers extend the architecture beyond text.
Lecture 9e
Language models advance through scaling, fine-tuning, and reinforcement learning, while tool use and reasoning extend what they can do.
Lecture 10a
PCA compresses centered data by projecting it onto top covariance eigenvectors, with SVD providing an efficient way to compute the projection.
Lecture 10b
PCA compresses and visualizes data efficiently, but NMF and nonlinear embeddings can better suit interpretable features and exploratory analysis.
Lecture 11a
A practical comparison of k-means, TF-IDF, SVD, and NMF for clustering Usenet documents.
Lecture 11b
EM fits Gaussian mixture models by alternating between estimating hidden cluster assignments and maximizing a likelihood lower bound.