Vector Representation Step
Vector Representation 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 tibble::tibble storing the requested vector representation of the persistence diagram in a table suitable for visualization.
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 tibble::tibbles storing the requested vector representations of the persistence diagrams in a table suitable for visualization.
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 tibble::tibbles storing the requested vector representations of the persistence diagrams in a table suitable for visualization.