| decomposition_traits | R Documentation |
Machine-readable properties of each decomposition algorithm available to decomp: whether the map is linear, whether it can be applied to new data, whether it inverts, and what its objective preserves.
decomposition_traits(algorithm = NULL)
algorithm |
Optional Character: Name of a decomposition algorithm,
matched case-insensitively. |
The columns:
nameThe name used by setup_<name>() and decomp(algorithm =).
descriptionFull name of the algorithm.
linearThe map from input space to component space is linear.
can_applyA fitted result can be applied to new data with apply_decomp.
invertibleThere is an inverse map from component space back to input space, so reconstruction error is defined.
orthogonalComponents are mutually orthogonal.
orderedComponents come in a meaningful order, so "the first j" is well-defined.
deterministicThe same input and configuration give the same result without setting a seed.
preservesWhat the objective preserves: "variance",
"global", "local", or "reconstruction".
nonnegRequires non-negative input and produces non-negative factors.
threadedThe fit runs on as many threads as the execution
config gives the algorithm (n_workers_algorithm, or the worker count).
Like can_apply, it states what rtemis implements.
packagePackage supplying the backend implementation.
can_apply states what rtemis implements, not what is mathematically
possible. Parametric tSNE exists and Isomap admits a Nystrom-style
out-of-sample extension; neither is implemented here, so both are FALSE.
The column's contract is that apply_decomp on a fitted result of this
algorithm returns components.
data.frame: One row per algorithm, one column per trait.
EDG
decomposition_traits()
decomposition_traits("PCA")
# Which algorithms support out-of-sample projection?
decomposition_traits()[["name"]][decomposition_traits()[["can_apply"]]]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.