evaluate_pred: Evaluate Prediction Results

View source: R/compred.r

evaluate_predR 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 TRUE, a summary plot will be generated.

...

Not used.

Value

A summary of evaluation result.


longhaiSK/HTLR documentation built on Nov. 15, 2024, 10:16 a.m.