Can someone help me understand how to rotate a vector A by some angle from vector B, both of size 512?
I have a feature vector that is compared to a basis vector which are the weights being updated, to do that an angle is calculated between the two vector’s and compared to ground truth. I would like reconstruct the feature vector by moving the basis vector by some angle, I’m not sure if rotation in higher dimensional space makes sense or if it’s better to try to learn that reconstruction
https://en.wikipedia.org/wiki/Rotation_matrix would be a great place to start to get a good idea of how you can use a rotation matrix to rotate a vector in 2 or 3 dimensions.
https://stackoverflow.com/questions/22099490/calculate-vector-after-rotating-it-towards-another-by-angle-θ-in-3d-space This post seems to be roughly what you’re looking for.