blkbox (version 1.0)

Performance: blkbox Performance.

Description

Determines the performance of each model within the blkbox or blkboxCV output. Can choose from a range of performance metrics.

Usage

Performance(object, metric = "AUROC", consensus = FALSE)

Arguments

object
the blkboxCV or blkbox output
metric
Which metric will be used for performance. Area under the Receiver operating curve = "AUROC", Accuracy = "ACC", Error rate = "ERR", Matthews correlation coefficient = "MCC", F-1 score = "F-1". default = "AUROC".
consensus
if the process was repeated it will calculate the consensus vote for each sample across the repititons before then calculating the performance across all samples. Default is False.

Examples

Run this code

Performance(blkbox(...), metric = "AUROC")
Performance(blkboxCV(...), metric = "ERR")

Run the code above in your browser using DataLab