HW1
HW1
University of Delaware
FSAN/ELEG815 Analytics I: Statistical Learning
Homework #1, Fall 2021
Name:
Check the trace and the determinant of R, R2 and R−1 using the matrices
and the eigenvalues.
2. Consider the rating of a 1000 movies from 671 viewers given in the reduced
Netflix dataset ‘ratingsData’. Viewers rated movies on a scale from 1
to 5, 0 for movies that were not rated. Using this dataset, repeat the
example of Singular Value Decomposition of the slides. Find the k-rank
approximation for k=4, k=6, k=8 and k=100. For each case, use Mean
Square Error (MSE) to measure how good your predictions are. Use only
the ratings given in the testing dataset ‘ratingsTest’ to compute the MSE.
Compare this error with the initial error i.e. when the testing ratings were
unknown (value of 0).
Note: We attached a notebook that give you hints and also load the Data
for you.
3. Given the dataset of images (Anne Hathaway, Benjamin Bratt, Ryan
Gosling, Keanu Reeves, Meghan Markle):