bayeserror: Estimate the Bayes error for a data set using a list of...

Description Usage Arguments

View source: R/bayeserror.R

Description

Estimate the Bayes error for a data set using a list of classifiers.

Usage

1
2
3
4
5
6
7
8
bayeserror(
  x,
  y,
  classifiers,
  err_method = "accuracy",
  corr_method = "ami",
  v = 10L
)

Arguments

x

a matrix of features

y

a vector of the observed classes

classifiers

a list of classifier functions or else their names

err_method

classification loss method

corr_method

correlation of error method

v

the resampling method


ryanholbrook/bayeserror documentation built on Jan. 12, 2020, 6:25 p.m.