jdonaldson / rtsne

An R package for t-SNE (t-Distributed Stochastic Neighbor Embedding)
58 stars 24 forks source link

Possible mistake in code when calculating P matrix (similarity matrix) #10

Open zhexuandliu opened 1 month ago

zhexuandliu commented 1 month ago

In line 24 of tsne-internal.R, I believe there is a mistake. It should be D = dist(X) ** 2 instead of D = dist(X) according to t-SNE algorithm.