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]
.
get_umap_graph
get_umap_graph (X, knn=5, **kwargs)
Type | Default | Details | |
---|---|---|---|
X | |||
knn | int | 5 | knn default to 15 in UMAP |
kwargs |
get_scanpy_graph
get_scanpy_graph (X, knn=5, **kwargs)
get_alpha_decay_graph
get_alpha_decay_graph (X, knn:int=5, decay:float=40.0, anisotropy:float=0, n_pca:int=None, **kwargs)
get_knn_graph
get_knn_graph (X, knn=5, **kwargs)
diff_aff
diff_aff (graph)
Compute the diffusion affinity for a pygsp graph.
kernel_degree
kernel_degree (graph)
Compute the kernel degree for a pygsp graph.
diff_op
diff_op (graph)
Compute the diffusion operator for a pygsp graph.