Estimate the Bayes error for a data set using a list of classifiers.
1 2 3 4 5 6 7 8 | bayeserror(
x,
y,
classifiers,
err_method = "accuracy",
corr_method = "ami",
v = 10L
)
|
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.