createPreprocessorFromJson | R Documentation |
Reload a covariate preprocessor object from a JSON string containing a serialized preprocessor
createPreprocessorFromJson(json_object)
json_object |
in-memory wrapper around JSON C++ object containing covariate preprocessor metadata |
Preprocessor object that can be used with the preprocessPredictionData
function
cov_mat <- matrix(1:12, ncol = 3)
preprocess_list <- preprocessTrainData(cov_mat)
preprocessor_json <- convertPreprocessorToJson(preprocess_list$metadata)
preprocessor_roundtrip <- createPreprocessorFromJson(preprocessor_json)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.