Chrome 111.0.5563.64
Issue description
When using embeddings that are not normalized and sphereized, the UMAP and T-SNE are incorrect or not simply loading.
See #5547 for a previous bug report.
the reason is that knn expects normalized vectors for cosine distance (cosDistNorm) rather than arbitrary vectors.
Alternative repo:
- Build and launch projector (must be from master, not https://projector.tensorflow.org)
- Uncheck "Sphereize data" on the default Word2Vec 10k dataset
- Switch projection from "PCA" to either t-SNE or UMAP
- See the UI breaks with "Initializing t-SNE..."/"Initialize UMAP..." modal loading forever
related to: #2421