Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 10 pages
Exam (elaborations)

LINEAR ALGEBRA AND OPTIMIZATION FOR MACHINE LEARNING COMPREHENSIVE EXAM SCRIPT VERIFIED QUESTIONS AND SOLUTIONS GRADED APLUS

Document preview thumbnail
Preview 2 out of 10 pages

LINEAR ALGEBRA AND OPTIMIZATION FOR MACHINE LEARNING COMPREHENSIVE EXAM SCRIPT VERIFIED QUESTIONS AND SOLUTIONS GRADED APLUS

Content preview

LINEAR ALGEBRA AND OPTIMIZATION
FOR MACHINE LEARNING
COMPREHENSIVE EXAM SCRIPT VERIFIED
QUESTIONS AND SOLUTIONS GRADED
APLUS

●● What does the gradient of the least squares objective equal?
Answer: $ \nabla f(x) = 2A^\top(Ax-b) $.


●● What is the geometric meaning of least squares?
Answer: Least squares chooses $ \hat x $ so that $ A\hat x $ is the
orthogonal projection of $ b $ onto the column space of $ A $.


●● What is the condition for the uniqueness of the least-squares
solution?
Answer: The solution is unique if $ A^\top A $ is invertible (i.e.,
columns of $ A $ are linearly independent).


●● What is the ridge regression objective?
Answer: $ \min_x \|Ax-b\|_2^2 + \lambda\|x\|_2^2 $.


●● What are the normal equations for ridge regression?

, Answer: $ (A^\top A + \lambda I)x = A^\top b $.


●● What is the solution to the ridge regression problem?
Answer: $ x = (A^\top A + \lambda I)^{-1}A^\top b $.


●● What is the general Tikhonov regularization objective?
Answer: $ \min_x \|Ax-b\|_2^2 + \lambda\|Wx\|_2^2 $.


●● What are the normal equations for general Tikhonov regularization?
Answer: $ (A^\top A + \lambda W^\top W)x = A^\top b $.


●● How do you convert pairwise differences into a matrix equation?
Answer: If a measurement says $ x_i - x_j \approx d $, create one row in
$ A $ with $ +1 $ in column $ i $, $ -1 $ in column $ j $, and set the
corresponding entry of $ b $ to $ d $.


●● What does the denoising regularizer using a difference matrix
penalize?
Answer: It penalizes roughness by enforcing $ \|Dx\|_2^2 =
\sum_{k=1}^{n-1}(x_{k+1}-x_k)^2 $.


●● What is the test for a symmetric matrix to be positive definite?

Document information

Uploaded on
September 9, 2026
Number of pages
10
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$15.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
GradeGalaxy
4.1
(14)
Sold
168
Followers
4
Items
55068
Last sold
1 day ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions