Description Usage Arguments Value Author(s)
View source: R/evaluatemodel.R
Evaluates a model on test dataset
1 | evaluatemodel(model,x,labels,proto_i,aggregateperid)
|
model |
Model produced by caret function train |
x |
Test data on which the model will be applied |
labels |
Data labels |
proto_i |
Protocol, 1 = eyes open, 2 = eyes closed, this is only used for logging and not for the evaluation |
aggregateperid |
Boolean to indicate whether features were aggregated per participant (TRUE) or not (FALSE) |
|
same as input |
|
Test set accuracy |
|
Test set Cohen's kappa coeficient |
|
Test set Area under the curve |
|
Test set confusion matrix |
|
Test set sensitivity |
|
same as input |
Vincent T van Hees
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.