Preprocessing Step
Preprocessing Step
Methods
Method apply()
Applies the class on a single persistence diagram and outputs the result.
Arguments
diag
A 2-column tibble::tibble specifying a persistence diagram.
Returns
A 2-column tibble::tibble storing the preprocessed persistence diagram.
Method fit()
Fits the class on a sample of persistence diagrams.
Arguments
X
A list of 2-column tibble::tibbles specifying a sample of persistence diagrams.
y
An integer vector specifying persistence diagram labels (unused for now).
Method transform()
Applies the class on a sample of persistence diagrams.
Arguments
X
A list of 2-column tibble::tibbles specifying a sample of persistence diagrams.
Returns
A list of 2-column tibble::tibbles storing the preprocessed persistence diagrams.
Method fit_transform()
Applies sequentially the $fit()
and $transform()
methods
on a sample of persistence diagrams in a more efficient way than
calling them directly.
Arguments
X
A list of 2-column tibble::tibbles specifying a sample of persistence diagrams.
y
An integer vector specifying persistence diagram labels (unused for now).
Returns
A list of 2-column tibble::tibbles storing the preprocessed persistence diagrams.