美文网首页
tsne method for python

tsne method for python

作者: 数据小新手 | 来源:发表于2019-01-09 16:19 被阅读0次

    TSNE different way

    tsne is a important method to plot high dimensional figure, and many people
    bulid different way to realise it. i will introduce some methods recently use.

    1. sklearn

    sklearn is a very popular package to slove machine learning problem

    The disadvantage is that only sinlge kernal can be used.

    from sklearn.manifold import TSNE
    model = TSNE(n_components=2,init='pca')
    node_pos = model.fit_transform(X)
    
    1. openTSNE
      opentsne can use multi worker to do the job,
      https://opentsne.readthedocs.io/en/latest/examples/01/01_simple_usage.html
    from openTSNE import TSNE
    model = TSNE(n_components=2,init='pca',n_jobs=8,)
    node_pos = model.fit(X)
    
    1. tsne-cuda
      tsne-cuda can use cude to accelerate tsne, but the installation is complex.
      https://github.com/CannyLab/tsne-cuda

    相关文章

      网友评论

          本文标题:tsne method for python

          本文链接:https://www.haomeiwen.com/subject/jfegrqtx.html