savePreprocessorToJsonString | R Documentation |
Convert the persistent aspects of a covariate preprocessor to (in-memory) JSON string
savePreprocessorToJsonString(object)
object |
List containing information on variables, including train set categories for categorical variables |
in-memory JSON string
cov_mat <- matrix(1:12, ncol = 3)
preprocess_list <- preprocessTrainData(cov_mat)
preprocessor_json_string <- savePreprocessorToJsonString(preprocess_list$metadata)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.