Learn R Programming

rtemis (version 1.4.3)

apply_decomp: Apply Decomposition to New Data (Deprecated)

Description

apply_decomp() is deprecated. Use apply_decomposition(), which takes the same arguments.

Usage

apply_decomp(decom, new_data, execution_config = NULL, verbosity = 1L)

Value

As apply_decomposition().

Arguments

decom

Decomposition object.

new_data

Tabular data (data.frame, data.table, or tibble): New data to which the decomposition will be applied.

execution_config

Optional ExecutionConfig object: Threads for an algorithm whose threaded trait is TRUE are its n_workers_algorithm, or its worker count. NULL uses the host's default worker count.

verbosity

Integer: Verbosity level.

Author

EDG

Examples

Run this code
iris_pca <- decomp(exc(iris, "Species"), algorithm = "PCA", verbosity = 0L)
suppressWarnings(apply_decomp(iris_pca, exc(iris, "Species")))

Run the code above in your browser using DataLab