I am using np.linalg.norm () for both numerator and denominator. Still, I am getting this assertion error.
I am not sure what I am doing wrong here. I checked the type of ‘Difference’ too and it comes out as np.ndarray.
Would you guys point me to the direction on what I might be missing? Much appreciated.