Preprocessing: Birth Persistence Transform
Source:R/representation-preprocessing.R
BirthPersistenceTransform.Rd
This is a class for the affine transformation \((x,y) \mapsto (x,y-x)\) to be applied on persistence diagrams.
Super classes
rgudhi::PythonClass
-> rgudhi::SKLearnClass
-> rgudhi::PreprocessingStep
-> BirthPersistenceTransform
Methods
Inherited methods
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)
bpt <- BirthPersistenceTransform$new()
bpt$apply(dgm)
bpt$fit_transform(list(dgm))
}