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.
For backwards compatibility, when loading a model developed with a previous version it might not have
model_type
accessible in themodel_parameters
when creating an estimator. But it is in themodelDesign
so I make sure to get it from there in these cases.