I have two ndarray A and B, one has the shape (4,) and another (4,1).
When I want to calculate the cosine distance using this, it throws some exceptions that complains the two objects are not aligned
Does anyone have ideas about this? Thanks!
One is a 1-dimensional array, the other is a 2-dimensional array.
Example: