94ec55bd5c13d75a590f82d41ff66e422bc11b1d,scanpy/tools/tsne.py,,tsne,#Any#Any#Any#,26

Before Change


        X = adata["X_pca"]
        sett.m(0, "using X_pca for tSNE")
    else:
        if params["n_pcs"] > 0 and adata.X.shape[1] > params["n_pcs"]:
            sett.m(0, "preprocess using PCA with", params["n_pcs"], "PCs")
            sett.m(0, "--> avoid this by setting n_pcs = 0")
            dpca = pca(adata, n_comps=params["n_pcs"])

After Change


        if n_pcs > 0 and adata.X.shape[1] > n_pcs:
            sett.m(0, "preprocess using PCA with", n_pcs, "PCs")
            sett.m(0, "--> avoid this by setting n_pcs = 0")
            X = pca(adata.X, n_comps=n_pcs)
            adata["X_pca"] = X
        else:
            X = adata.X
    // params for sklearn
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: theislab/scanpy
Commit Name: 94ec55bd5c13d75a590f82d41ff66e422bc11b1d
Time: 2017-02-20
Author: f.alex.wolf@gmx.de
File Name: scanpy/tools/tsne.py
Class Name:
Method Name: tsne


Project Name: theislab/scanpy
Commit Name: 315859c5586116434ea3b7ce97512a5e2a1030e2
Time: 2017-02-06
Author: flying-sheep@web.de
File Name: scanpy/exs/builtin.py
Class Name:
Method Name: paul15pca


Project Name: DistrictDataLabs/yellowbrick
Commit Name: 4d0483edd1468855df714f77bca1a0a93f01cbce
Time: 2018-06-18
Author: benjamin@bengfort.com
File Name: docs/api/features/pca.py
Class Name:
Method Name: