| .list_to_PreprocessorConfig | R Documentation |
Internal function used to reconstruct a PreprocessorConfig object from a
named list, such as the result of parsing a JSON config conforming to the
schema.rtemis.org preprocessor schema. Elements are passed to
setup_Preprocessor; document metadata ($schema) is dropped first, since
it identifies the document.
.list_to_PreprocessorConfig(x)
x |
Named list of |
The learned values (impute_numeric_values, impute_level_values,
scale_centers, scale_coefficients, one_hot_levels,
factor2integer_levels) are data_dependent settable inputs: a
user-authored config typically carries none, and the setup_* defaults leave
them unset. A config that does carry them – a fitted preprocessor written
back out – restores them, which is why they are serialized at all (see
"Property roles" in 010_Props.R).
A PreprocessorConfig object.
EDG
.list_to_PreprocessorConfig(list(scale = TRUE, center = TRUE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.