View source: R/sits_model_export.R
sits_model_export | R Documentation |
Given a trained machine learning or deep learning model,
exports the model as an object for further exploration outside the
sits
package.
sits_model_export(ml_model)
## S3 method for class 'sits_model'
sits_model_export(ml_model)
ml_model |
A trained machine learning model |
An R object containing the model in the original format of machine learning or deep learning package.
Rolf Simoes, rolf.simoes@inpe.br
if (sits_run_examples()) {
# create a classification model
rfor_model <- sits_train(samples_modis_ndvi, sits_rfor())
# export the model
rfor_object <- sits_model_export(rfor_model)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.