Professional Documents
Culture Documents
Ps 1
Ps 1
Midsem Exam
Jun 15th, 2024 (Sat), 6PM, L19, L20
Only for registered students (regular + audit)
Assigned seating – to be announced on Piazza
Open notes (handwritten only)
No mobile phones, tablets etc
Bring your institute ID card
If you don’t bring it, you may have to spend precious
time during the exam getting verified separately
Syllabus:
All videos, slides, code linked on the course
discussion page (link below) till 10 Jun 2024 (Mon)
https://www.cse.iitk.ac.in/users/purushot/courses/ml/
2023-24-s/discussion.html
See GitHub for practice questions
True or False
For any vectors , we always have .
counts the number of non-zero coordinates of the vector
Suppose coordinate is nonzero in – then the coordinate must be non-
zero in either or or both.
Suppose coordinate is zero in – then the coordinate must be zero in
either or or both. – False since coordinate values can cancel.
True or False
The optimum for is always
Parallel Classifier
Create a feature map for some so that for
any , takes value if is in the dark cross-
hatched region and if is in the light dotted
region (see fig). E.g., is labelled while the
points and are both labelled . The lines in
the figure are and . We don’t care what
values are taken on points lying on these
two lines (as these are the decision
boundaries). is the all-ones vector.
CM to the rescue
Consider the following problem where and are constants and . Design a coordinate
minimization algorithm (choose coordinates cyclically) to solve the primal.