if (sits_run_examples()) {
# Retrieve the samples for Mato Grosso
# train an extreme gradient boosting
svm_model <- sits_train(samples_modis_ndvi,
ml_method = sits_svm()
)
plot(svm_model)
}
Run the code above in your browser using DataLab