Padding: Preprocessing: Padding

PaddingR Documentation

Preprocessing: Padding

Description

This is a class for padding a list of persistence diagrams with dummy points, so that all persistence diagrams end up with the same number of points.

Super classes

rgudhi::PythonClass -> rgudhi::SKLearnClass -> rgudhi::PreprocessingStep -> Padding

Methods

Public methods

Inherited methods

Method new()

The Padding constructor.

Usage
Padding$new(use = FALSE)
Arguments
use

A boolean value specifying whether to use the class. Defaults to FALSE.

Returns

An object of class Padding.


Method clone()

The objects of this class are cloneable with this method.

Usage
Padding$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Author(s)

Mathieu Carrière

Examples


X <- seq_circle(10)
ac <- AlphaComplex$new(points = X)
st <- ac$create_simplex_tree()
dgm <- st$compute_persistence()$persistence_intervals_in_dimension(0)
pad <- Padding$new()
pad$apply(dgm)
pad$fit_transform(list(dgm))


rgudhi documentation built on March 31, 2023, 11:38 p.m.