Description Usage Arguments Value
View source: R/classification_models.R
Create confusion matrix of the predictions vs reference class in the test set.
1 | class_predict(fit, test_df, test_class)
|
fit |
a caret model |
test_df |
A test dataframe |
test_class |
A vector of the classes |
A confusion matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.