Worked on the assignment for week 3 of Mathematics for ML Specialization by Imperial College of London.
The assignment was fairly simple as you will apply the concepts to calculate projection matrices for 1D and General Cases.
Key points:
The assignment was fairly simple as you will apply the concepts to calculate projection matrices for 1D and General Cases.
Key points:
- Be careful on using vector operations with the help of NumPy. For example, if you do b @ b.T it will calculate the dot product when what we need is the outer product. For that use the np.outer method and it will return the correspondent matrix.
- Check on dimensions and vector operations as you might need to apply Traverse for some of them to work correctly.