RDist#
- class datafold.pcfold.distance.RDist(cut_off, kmin=None, metric='euclidean', **backend_options)[source]#
Bases:
DistanceAlgorithm
Sparse distance matrix algorithm rdist, for point clouds with manifold assumption.
Note
The dependency on the Python package is optional. The package is currently not published.
- Parameters:
metric – “euclidean” or “sqeuclidean”
cut_off – Distance values (always Euclidean metric) that are larger are not stored in distance matrix.
- Raises:
ImportError – if rdist is not installed, but selected as backend
References
Todo
include own paper if published
Attributes Summary
Methods Summary
__call__
(X[, Y])Compute distance matrix.
Attributes Documentation
Methods Documentation