Description Usage Arguments See Also Examples
Perform the evaluation of predictions.
1 2 3 4 5 6 7 8 9 |
x |
a matrix or data frame containing the predictions. |
labels |
a vector containing the true class labels. It can be a factor or character vector. |
prediction |
a vector containing the prediction probability obtained by a model: see |
thres |
a numeric vector with the cutoff values. |
cutoff |
the cutoff value for error estimation. This can be a numeric value or a character string.
If the |
labpos |
a character string of the variable |
... |
additional parameters. |
1 2 | data(Daim.data1)
(perform <- performDaim(Daim.data1$prob.oob, Daim.data1$labels, Daim.data1$prob.app))
|
Loading required package: parallel
Performance of the classification obtained by:
Call:
list()
<environment: 0x7199da0>
Daim parameters:
est.method = obs, cutoff = 0.5.
Result:
---------------------------------------------------------
Error: | .632+ | .632 | loob | apparent |
----------------------------------------------
| 0.2224 | 0.1954 | 0.2705 | 0.0663 |
---------------------------------------------------------
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.