Hello,
I did get the correct expected output in the end of assignment:
There is a mistake in the backward propagation! difference = 0.2850931567761623
However, I did it, by calculating the difference
using just the norms (not the quadratic form of those!) on purpose. Isn’t it an error in assignment? From my understanding the formula should contain the norms to the power of two, both in numerator and denominator. That’s how I calculated difference
in the first half of the assignment and passed the grader. In the second half of the assignment calculating it like that didn’t pass the grader and I spent some time trying to find a bug until I realized that suddenly difference
shouldn’t include numerator and denominator with **2
. Am I missing something? Thank you!