phecap_validate_phenotyping_model.Rd
Apply the trained model to all patients in the validation dataset, and measure the prediction accuracy via ROC and AUC.
phecap_validate_phenotyping_model(data, model)
data | an object of class |
---|---|
model | an object of class |
An object of class PhecapValidation
, with components
the method used for model training
ROC on training dataset
AUC on training dataset
average ROC on random splits of training dataset
average AUC on random splits of training dataset
ROC on validation dataset
AUC on validation dataset
See PheCAP-package
for code examples.