2870a4edaa2de4a6bd3a3c78db264edc626565b4,umap/umap_.py,UMAP,fit,#UMAP#Any#Any#,1414

Before Change


            print("Construct embedding")


        csr_graph = self.graph_.tocsr()
        inds = csr_graph.indices.reshape(-1, self.n_neighbors)

        sigmas, rhos = smooth_knn_dist(
            inds, self.n_neighbors, local_connectivity=self.local_connectivity
        )

After Change


            print("Construct embedding")


        indices = self.graph_.tocsr().indices.reshape(-1, self.n_neighbors)
        sigmas, rhos = smooth_knn_dist(
            indices, self.n_neighbors, local_connectivity=self.local_connectivity
        )
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 3

Instances


Project Name: lmcinnes/umap
Commit Name: 2870a4edaa2de4a6bd3a3c78db264edc626565b4
Time: 2018-08-03
Author: joseph.m.courtney@gmail.com
File Name: umap/umap_.py
Class Name: UMAP
Method Name: fit


Project Name: RaRe-Technologies/gensim
Commit Name: 39ca27319df6caa243edf32fe972c7deda5a8854
Time: 2010-07-27
Author: radimrehurek@seznam.cz
File Name: src/gensim/matutils.py
Class Name:
Method Name: corpus2csc


Project Name: RaRe-Technologies/gensim
Commit Name: 5855944254546d63e3146b445d0618a1771927e1
Time: 2010-07-27
Author: piskvorky@92d0401f-a546-4972-9173-107b360ed7e5
File Name: src/gensim/matutils.py
Class Name:
Method Name: corpus2csc


Project Name: lmcinnes/umap
Commit Name: 56b45b012472a3f91278df3ceb085fbc13339680
Time: 2020-11-25
Author: jcheayl@gmail.com
File Name: umap/umap_.py
Class Name: UMAP
Method Name: transform


Project Name: scipy/scipy
Commit Name: 0a62c2bc6a1fa9ffbfa0af102f56f1ac86460fa1
Time: 2017-02-17
Author: perimosocordiae@gmail.com
File Name: scipy/sparse/csc.py
Class Name: csc_matrix
Method Name: __iter__