OHDSI / DeepPatientLevelPrediction

An R package for performing patient level prediction using deep learning in an observational database in the OMOP Common Data Model.
https://ohdsi.github.io/DeepPatientLevelPrediction
10 stars 4 forks source link

handle case if modelType isn't in modelParams #116

Closed egillax closed 3 months ago

egillax commented 3 months ago

For backwards compatibility, when loading a model developed with a previous version it might not have model_type accessible in the model_parameters when creating an estimator. But it is in the modelDesign so I make sure to get it from there in these cases.