Learn R Programming

spect (version 1.0)

evaluate_model: 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)

Value

Evaluation metrics. Also plots the number of requested samples

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.

Author

Stephen Abrams, stephen.abrams@louisville.edu