Graph selection

By default we use the alpha-decay kernel from PHATE. We implemented other types of kernels, to use them you need to install our package with [dev].


source

get_umap_graph

 get_umap_graph (X, knn=5, **kwargs)
Type Default Details
X
knn int 5 knn default to 15 in UMAP
kwargs

source

get_scanpy_graph

 get_scanpy_graph (X, knn=5, **kwargs)

source

get_alpha_decay_graph

 get_alpha_decay_graph (X, knn:int=5, decay:float=40.0,
                        anisotropy:float=0, n_pca:int=None, **kwargs)

source

get_knn_graph

 get_knn_graph (X, knn=5, **kwargs)

source

diff_aff

 diff_aff (graph)

Compute the diffusion affinity for a pygsp graph.


source

kernel_degree

 kernel_degree (graph)

Compute the kernel degree for a pygsp graph.


source

diff_op

 diff_op (graph)

Compute the diffusion operator for a pygsp graph.