trivial_error_rate: Calculate the trivial error rate

Description Usage Arguments Author(s)

View source: R/error-functions.r

Description

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.

Usage

1

Arguments

truth

True class labels.

Author(s)

Christofer Bäcklin


emil documentation built on Aug. 1, 2018, 1:03 a.m.