| BottleneckDistance | R Documentation |
Computes the bottleneck distance matrix from a list of persistence diagrams.
rgudhi::PythonClass -> rgudhi::SKLearnClass -> rgudhi::MetricStep -> BottleneckDistance
new()The BottleneckDistance constructor.
BottleneckDistance$new(epsilon = NULL, n_jobs = 1)
epsilonA numeric value specifying the absolute (additive) error
tolerated on the distance. Defaults to NULL, in which case the
smallest positive float is used.
n_jobsAn integer value specifying the number of jobs to use for
the computation. Defaults to 1L.
An object of class BottleneckDistance.
clone()The objects of this class are cloneable with this method.
BottleneckDistance$clone(deep = FALSE)
deepWhether to make a deep clone.
Mathieu Carrière
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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.