Computes the bottleneck distance matrix from a list of persistence diagrams.
Super classes
rgudhi::PythonClass
-> rgudhi::SKLearnClass
-> rgudhi::MetricStep
-> BottleneckDistance
Methods
Method new()
The BottleneckDistance
constructor.
Usage
BottleneckDistance$new(epsilon = NULL, n_jobs = 1)
Examples
if (FALSE) { # reticulate::py_module_available("gudhi")
X <- seq_circle(10)
ac <- AlphaComplex$new(points = X)
st <- ac$create_simplex_tree()
dgm <- st$compute_persistence()$persistence_intervals_in_dimension(0)
ds <- DiagramSelector$new(use = TRUE)
dgm <- ds$apply(dgm)
dis <- BottleneckDistance$new()
dis$apply(dgm, dgm)
dis$fit_transform(list(dgm))
}