phecap_validate_phenotyping_model {PheCAP} | R Documentation |
Validate the Phenotyping Model using the Validation Labels
Description
Apply the trained model to all patients in the validation dataset, and measure the prediction accuracy via ROC and AUC.
Usage
phecap_validate_phenotyping_model(data, model)
Arguments
data |
an object of class |
model |
an object of class |
Value
An object of class PhecapValidation
, with components
method |
the method used for model training |
train_roc |
ROC on training dataset |
train_auc |
AUC on training dataset |
split_roc |
average ROC on random splits of training dataset |
split_auc |
average AUC on random splits of training dataset |
valid_roc |
ROC on validation dataset |
valid_auc |
AUC on validation dataset |
See Also
See PheCAP-package
for code examples.
[Package PheCAP version 1.2.1 Index]