self_evaluate_model | R Documentation |
This assumes a set of partitions from create_partitions() which keeps the training metadata alongside the matrix of model variables. When available, that function also keeps the known annotations of the testing data. Given those annotations and the model created/tested from them, this runs confusionMatrix and ROC, collects the results, and provides them as a list.
self_evaluate_model(predictions, datasets, which_partition = 1, type = "train")
predictions |
Model created by train() |
datasets |
Set of training/testing partitions along with associated metadata annotations. |
which_partition |
Choose a paritiont to evaluate |
type |
Use the training or testing data? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.