Description Usage Arguments Author(s)
View source: R/error-functions.r
Simply predicting the most common class for all test set observations can be a decievingly successful strategy in terms of error rate. This function shows what error rate such a strategy would result in.
1 | trivial_error_rate(truth)
|
truth |
True class labels. |
Christofer Bäcklin
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.