Description Usage Arguments Value Author(s)
Proceeds a cross validation for a given machine learning method.
The number of partitions is given by cross
parameter.
The result is a tibble with a "reference" and "predicted" columns
1 2 | its.ml.cross_validation(f, ml_model = its.ml.model.svm_radial(), cross = 5,
cores = 1)
|
f |
A massits features tibble to compose the formula expression. |
ml_model |
A valid machine learning model function |
cross |
Cross validation partitions to be test for each parameter combinations |
cores |
Number of threads to process cross-validation (Default |
A confusion matrix returned by confusionMatrix
of caret
package
Rolf Simoes, rolf.simoes@inpe.br
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.