A tutorial on the t-SNE learning algorithm
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
colinwxl opened this issue 6 years ago · comments
it should be as follow:
def _joint_probabilities_constant_sigma(D, sigma): P = np.exp(-D**2/(2 * sigma**2)) P /= np.sum(P, axis=1) return P