I am a bit confused. The decision boundary you draw is for the L2 distance, which it should be according to en.wikipedia.org/wiki/Nearest_centroid_classifier . However, then you use cosine similarity, which is something different and actually dependent on the location of the origin.
Пікірлер: 2