myogestic.models.definitions.catboost_models.load#

myogestic.models.definitions.catboost_models.load(model_path, model)[source]#

Load a CatBoost model.

Parameters:
  • model_path (str) – The path to load the model.

  • model (_CatBoostBase) – A new instance of the CatBoost model. This instance is used to load the model.

Returns:

The loaded CatBoost model.

Return type:

_CatBoostBase