Hello.
I’m trying to complete the programming assignment about linear transformations and neural networks in module 3 of the “Linear Algebra for Machine Learning and Data Science” course on Coursera. I’m having difficulty finding the solution for Exercise 2. Am I allowed to use the interactive linear transformation tool from the same module to help, or is that not allowed? What material are we allowed to use to solve this assignment? I’ve tested on paper, and I think I know what matrix we should use as the transformation matrix. I believe it’s [[m + (v[0] * v[-1]), 0], [0,1]]. So, we have to add the shearing factor (m) to the product of the first and last vector elements as the first element of the transformation matrix, with everything else being the same as the identity matrix. However, when I try it, it doesn’t pass the test. Also, for exercises 3 and 4, I was able to solve the problem by importing the math module in Python. However, will this affect the metadata and autograder? If so, what other option should I try?