Queen's University CISC 371
Professor Ma · Queen's University · 23 lectures with notes
Every lecture with its full transcript and chapters, and one search across all 23 lectures.
Lecture 1: Introduction
Burton Ma connects the history and mathematics of optimization to machine learning, then demonstrates grid search in MATLAB.
Lecture 2: Optimization via quadratic approximation
Quadratic fitting turns three function evaluations into an iterative line search that narrows a bracket around a local minimum.
Lecture 3: Optimization via quadratic approximation (cont); Stationarity
Quadratic interpolation narrows a minimum bracket; derivative tests distinguish minima from other stationary points.
Lecture 4: Stationarity (cont); Line search algorithms
Convexity supports reliable line searches, from finding a minimum-containing bracket to shrinking it efficiently with dichotomous search.
Lecture 5: Line search
Derivative-driven line searches trade fewer iterations for sensitivity to step size and convergence settings.
Lecture 6: Armijo condition
Armijo backtracking automatically shrinks a step until it achieves a sufficient decrease in the objective function.
Lecture 7: Multivariate calculus
Burton Ma develops the vector, partial-derivative, and directional-derivative notation required for high-dimensional optimization.
Lecture 8: Multivariate calculus (cont); Proof of second-order necessary condition for optimality
A little-o Taylor remainder shows why a smooth local minimum with zero slope must have nonnegative second derivative.
Lecture 10: Stationarity (multivariate)
A zero gradient identifies candidate extrema; the Hessian’s definiteness determines whether they are minima, maxima, or saddle points.
Lecture 11: Hessian matrix; Steepest descent
Hessian tests classify many critical points, while negative-gradient steps and Armijo backtracking provide a practical route to minimization.
Lecture 12: Newton's method
Newton's method uses Hessian curvature for fast minimization, while damping and Levenberg-Marquardt address its unstable steps.
Lecture 14: Non-linear least-squares
Gauss-Newton turns nonlinear least squares into repeated linear least-squares problems by linearizing residuals with the Jacobian.
Lecture 13: Linear least squares
Ordinary least squares turns residual minimization into a matrix solution, and estimating a repeated measurement reduces to averaging.
Lecture 15: Non-linear least-squares (cont); Convexity
Gauss-Newton estimates position from noisy landmark distances, while convexity explains useful structure in multivariate optimization.
Lecture 16: Artifical neuron
A single neuron learns an Iris setosa decision boundary by combining weighted inputs, an activation function, and gradient descent.
Lecture 17: Artifical neuron (cont); Linear neural network
A vectorized Iris classifier leads to the chain-rule foundations of neural-network training and vanishing gradients.
Lecture 18: Linear neural network (cont); Fully connected neural network
Back-propagation computes network gradients efficiently by carrying error information backward from the output layer.
Lecture 19: Back propogation equations
Backpropagation computes layer errors in reverse and weight gradients from activation-error products.
Lecture 21: Constrained optimization (equality constraints)
Equality-constrained minima occur where objective and constraint gradients align, yielding the Lagrange multiplier equations.
Lecture 23: The Lagrangian and method of Lagrange multipliers
Lagrange multipliers turn equality-constrained optimization into a system of stationarity and constraint equations.
Lecture 24: Duality
Lagrangian duality converts constrained minimization into maximizing a lower bound, with strong duality making the primal and dual values equal.
Lecture 25: KKT conditions
KKT conditions combine stationarity, feasibility, nonnegative multipliers, and complementary slackness to characterize constrained optima.
Lecture 26: KKT geometry
KKT geometry identifies constrained minima through feasibility, active constraints, and gradient balance.