Skip to contents

This is a class for the affine transformation \((x,y) \mapsto (x,y-x)\) to be applied on persistence diagrams.

Author

Mathieu Carrière

Super classes

rgudhi::PythonClass -> rgudhi::SKLearnClass -> rgudhi::PreprocessingStep -> BirthPersistenceTransform

Methods

Inherited methods


Method new()

The BirthPersistenceTransform constructor.

Returns

An object of class BirthPersistenceTransform.


Method clone()

The objects of this class are cloneable with this method.

Usage

BirthPersistenceTransform$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

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))
}