error_rate: Epirical risk

View source: R/error_rate.R

error_rateR Documentation

Epirical risk

Description

Compute Error Rate using confusion matrix. Error rate measures the fraction of the instances from the test set that are misclassified by the learning algorithm. This measurement further includes the instances from all classes.

Usage

error_rate(confusion_matrix)

Arguments

confusion_matrix

Confusion matrix to be used.

Value

integer value of Error Rate


nikitagusarov/performancer documentation built on Jan. 12, 2023, 12:19 a.m.