evaluate_pred {HTLR} | R Documentation |
Evaluate Prediction Results
Description
This function compares the prediction results returned by a classifier with ground truth, and finally gives a summary of the evaluation.
Usage
evaluate_pred(y.pred, y.true, caseid = names(y.true), showplot = TRUE, ...)
Arguments
y.pred |
A matrix of predicted probabilities, as returned by a classifier. |
y.true |
Ground truth labels vector. |
caseid |
The names of test cases which we take account of. By default all test cases are used for evaluation. |
showplot |
Logical; if |
... |
Not used. |
Value
A summary of evaluation result.
[Package HTLR version 0.4-4 Index]