evaluate_model {spect} | R Documentation |
Generates evaluation metrics, include time-dependent TPR and FPR rates as well as AUC
Description
Generates evaluation metrics, include time-dependent TPR and FPR rates as well as AUC
Usage
evaluate_model(train_result, prediction_times, plot_roc = TRUE)
Arguments
train_result |
return data object from spect_train |
prediction_times |
a vecotr of times to use for generating TPR and FPR data |
plot_roc |
optional indicator to display the time-dependent ROC curves. The TPR and FPR data will be returned regardless of the value of this parameter. |
Value
Evaluation metrics. Also plots the number of requested samples
Author(s)
Stephen Abrams, stephen.abrams@louisville.edu
[Package spect version 1.0 Index]