Mapper on BallMapper
- class pyballmapper.mobm.MapperonBallMapper(cover_BM, target_space, eps, min_samples=1, dbscan_metric='euclidean', sparse=False, dbg=False)
Bases:
BallMapper
Mapper on BallMapper using DBSCAN as clustering algorithm.
It uses scipy csr sparse matrix to speed up computations.
- Parameters:
cover_B (BallMapper) – Ball Mapper graph covering the image space.
target_space (array-like of shape (n_samples, n_features)) – The high dimensional pointcloud where to pull back from nodes of the BallMapper.
eps (float) – eps parameter for DBSCAN
min_samples (int) – min number of elements in a cluster that make it a cluster and not noise. Another DBSCAN parameter.
- Graph
The resulting Mapper on BallMapper graph. With node attributes size and points covered.
- Type:
NetworkX graph
Notes
https://scikit-learn.org/stable/modules/generated/sklearn.cluster.DBSCAN.html