| DiagramSelector | R Documentation |
This is a class for extracting finite or essential points in persistence diagrams.
rgudhi::PythonClass -> rgudhi::SKLearnClass -> rgudhi::PreprocessingStep -> DiagramSelector
new()The DiagramSelector constructor.
DiagramSelector$new(
use = FALSE,
limit = Inf,
point_type = c("finite", "essential")
)useA boolean value specifying whether to use the class. Defaults
to FALSE.
limitA numeric value specifying the second coordinate value which
is the criterion for being an essential point. Defaults to
\infty.
point_typeA string specifying the type of the points that are
going to be extracted. Choices are either “finite” or “essential”.
Defaults to “finite”.
An object of class DiagramSelector.
clone()The objects of this class are cloneable with this method.
DiagramSelector$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()
ds$apply(dgm)
ds$fit_transform(list(dgm))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.