may i ask where i made mistake? i followed what the hint give, did i miss anything??
### START CODE HERE
{mentor edit: code removed}
### END CODE HERE
may i ask where i made mistake? i followed what the hint give, did i miss anything??
### START CODE HERE
{mentor edit: code removed}
### END CODE HERE
Please do not post your code on the forum. That breaks the course Honor Code.
If a mentor needs to see your code, we’ll ask you to send it via a private message.
Yes, you are missing several things in those computations. I suggest you read the instructions and hints again and consider how they apply to your code. One thing to note in particular is that the squared norm of a vector or matrix involves computing a summation, right? It is the sum of the squares of the elements of the vector. I don’t see that anywhere in your code.