1. t-SNE

from sklearn.manifold import TSNE
X_proj = TSNE(random_state=123).fit_transform(X)

2. t_sne

  • _joint_probabilities

    _joint_probabilities(distances, desired_perplexity, verbose)
    • Compute joint probabilities p_ij from distances.
  • _kl_divergence

    _kl_divergence(params, P, alpha, n_samples, n_components)
    • t-SNE objective function: KL divergence of p_ijs and q_ijs.
posted on 2016-10-26 16:58  未雨愁眸  阅读(160)  评论(0编辑  收藏  举报