CS229 Lecture Notes
What is the main purpose of Newton’s method as described in the text?
Apuntes
CS229 Lecture Notes Andrew Ng and Tengyu Ma June 11, 2023 Contents I Supervised learning 5 1 Linear regression 8 1.1 LMS algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . 9 1.2 The normal equations . . . . . . . . . . . . . . . . . . . . . . . 13 1.2.1 Matrix derivatives . . . . . . . . . . . . . . . . . . . . . 13 1.2.2 Least squares revisited . . . . . . . . . . . . . . . . . . 14 1.3 Probabilistic interpretation . . . . . . . . . . . . . . . . . . . . 15 1.4 Locally weighted linear regression (optional reading) . . . . . . 17 2 Classification and logistic regression 20 2.1 Logistic regression . . . . . . . . . . . . . . . . . . . . . . . . 20 2.2 Digression: the perceptron learning algorithm . . . . . . . . . 23 2.3 Multi-class classification . . . . . . . . . . . . . . . . . . . . . 24 2.4 Another algorithm for maximizing ` ( θ ) . . . . . . . . . . . . . 27 3 Generalized linear models 29 3.1 The exponential family . . . . . . . . . . . . . . . . . . . . . . 29 3.2 Constructing GLMs . . . . . . . . . . . . . . . . . . . . . . . . 31 3.2.1 Ordinary least squares . . . . . . . . . . . ....
Estudia con juegos interactivos
Sube tus apuntes y genera flashcards, examenes y mas con IA
Empezar gratis