mantasu / cs231n

Shortest solutions for CS231n 2021-2024
259 stars 58 forks source link

KNN, Inline Q2 Rotation. #8

Closed mmuneeburahman closed 11 months ago

mmuneeburahman commented 11 months ago

image If we take || R.dot(p(k))-R.dot(p(k')) ||, it is equal to 1. Need some more explaination?

mantasu commented 11 months ago

Yeah, the calculated distances after rotation are wrong though I can't remember how I made a mistake lol. This should have been pointed out ages ago; L1 is invariant to rotations of multiples of $90^{\circ}$. Thanks for this!