Linear Algebra Review Problems
CSC311, Fall 2021
Commute times
1. Suppose we are trying to predict commute times based on the distance traveled and day of the week. We have the following data:
Copyright By PowCoder代写 加微信 powcoder
dist day commute time 2.71 25 3.41 31 5.22 45 1.03 16 2.85 22
(a) We estimate that commute times have the following relationship commute time = 10 × dist − day
What are our predicted commute times? How can we use matrices to compute this quickly?
(b) Suppose we want to calculate the average mean squared error between the predictions and the ground truth. How do we do this?
Misc problems
1. Are the following set of vectors linearly independent or dependent? Justify. 1 2 3
2. Compute the projection of the vector 2 onto the direction 1 .
程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com