View source: R/pipeline_modules.R
calculateMetricsBinaryClassifier | R Documentation |
This function is for an older version of MethylPipeR and is now deprecated. It is currently still included to allow old scripts to run correctly. Given model predictions and labels, calculates binary classification performance metrics
calculateMetricsBinaryClassifier(
modelPredictions,
y,
pipelineRunInformation,
modelLabel
)
modelPredictions |
A vector of model predictions. |
y |
A matrix/data.frame with a column named 'Event' corresponding to a binary label. |
pipelineRunInformation |
The object originally created by
|
modelLabel |
A string that will act as a label for this function call. The label will be used as a prefix for the saved object filenames in this function call. |
Object containing model metrics.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.