bbaafb6df702636fed35dc7e91099e8dffb534f3,umap/aligned_umap.py,AlignedUMAP,update,#AlignedUMAP#Any#Any#,383

Before Change


        // TODO: We can likely make this more efficient and not recompute each time
        self.dict_relations_ += [invert_dict(new_dict_relations)]
        new_relations = expand_relations(self.dict_relations_)
        new_regularisation_weights = build_neighborhood_similarities(
            [mapper.graph_.indptr for mapper in self.mappers_],
            [mapper.graph_.indices for mapper in self.mappers_],
            new_relations,
        )

        new_embedding = init_from_existing(
            self.embeddings_[-1], new_mapper.graph_, new_dict_relations
        )

After Change


        else:
            n_epochs = self.n_epochs

        indptr_list = numba.typed.List.empty_list(numba.types.int32[::1])
        indices_list = numba.typed.List.empty_list(numba.types.int32[::1])
        heads = numba.typed.List.empty_list(numba.types.int32[::1])
        tails = numba.typed.List.empty_list(numba.types.int32[::1])
        epochs_per_samples = numba.typed.List.empty_list(numba.types.float64[::1])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 17

Instances


Project Name: lmcinnes/umap
Commit Name: bbaafb6df702636fed35dc7e91099e8dffb534f3
Time: 2020-03-17
Author: leland.mcinnes@gmail.com
File Name: umap/aligned_umap.py
Class Name: AlignedUMAP
Method Name: update


Project Name: lmcinnes/umap
Commit Name: cd96a249969eb66243bf45c4d5def8b5800a28f0
Time: 2020-03-16
Author: leland.mcinnes@gmail.com
File Name: umap/layouts.py
Class Name:
Method Name: optimize_layout_aligned_euclidean


Project Name: lmcinnes/umap
Commit Name: bbaafb6df702636fed35dc7e91099e8dffb534f3
Time: 2020-03-17
Author: leland.mcinnes@gmail.com
File Name: umap/aligned_umap.py
Class Name: AlignedUMAP
Method Name: update


Project Name: lmcinnes/umap
Commit Name: cd96a249969eb66243bf45c4d5def8b5800a28f0
Time: 2020-03-16
Author: leland.mcinnes@gmail.com
File Name: umap/aligned_umap.py
Class Name: AlignedUMAP
Method Name: fit