A Tutorial on Regression Analysis: From Linear Models to Deep Learning -- Lecture Notes on Artificial Intelligence
Jingyuan Wang, Jiahao Ji
TL;DR
These lecture notes unify regression analysis from linear models to deep learning, with a self-contained treatment for students with basic math. They define regression as learning a function mapping features to responses and detail a three-part construction (regression function, loss, estimation), then cover linear, logistic, and softmax regression, nonlinear basis-function approaches, kernel methods, and deep neural networks with backpropagation. The notes emphasize regularization (Ridge, LASSO) to control overfitting and discuss gradient-based optimization across settings, including closed-form solutions where available. By linking classical statistical modeling with modern machine-learning practice, the work aims to build a solid conceptual and technical foundation for advanced AI models.
Abstract
This article serves as the regression analysis lecture notes in the Intelligent Computing course cluster (including the courses of Artificial Intelligence, Data Mining, Machine Learning, and Pattern Recognition). It aims to provide students -- who are assumed to possess only basic university-level mathematics (i.e., with prerequisite courses in calculus, linear algebra, and probability theory) -- with a comprehensive and self-contained understanding of regression analysis without requiring any additional references. The lecture notes systematically introduce the fundamental concepts, modeling components, and theoretical foundations of regression analysis, covering linear regression, logistic regression, multinomial logistic regression, polynomial regression, basis-function models, kernel-based methods, and neural-network-based nonlinear regression. Core methodological topics include loss-function design, parameter-estimation principles, ordinary least squares, gradient-based optimization algorithms and their variants, as well as regularization techniques such as Ridge and LASSO regression. Through detailed mathematical derivations, illustrative examples, and intuitive visual explanations, the materials help students understand not only how regression models are constructed and optimized, but also how they reveal the underlying relationships between features and response variables. By bridging classical statistical modeling and modern machine-learning practice, these lecture notes aim to equip students with a solid conceptual and technical foundation for further study in advanced artificial intelligence models.
