diff --git a/python/treelite/model.py b/python/treelite/model.py index fe958052..256b95d0 100644 --- a/python/treelite/model.py +++ b/python/treelite/model.py @@ -110,7 +110,7 @@ def load( cls, filename: str, model_format: str, allow_unknown_field: bool = False ) -> Model: """ - Deprecated. Please use :py:meth:`~treelite.frontend.load_xgboost_model` instead. + Deprecated; please use :py:meth:`~treelite.frontend.load_xgboost_model` instead. Load a tree ensemble model from a file. Parameters @@ -157,7 +157,7 @@ def deprecation_warning(alt: str) -> None: @classmethod def from_xgboost(cls, booster: Any) -> Model: """ - Deprecated. Please use :py:meth:`~treelite.frontend.from_xgboost` instead. + Deprecated; please use :py:meth:`~treelite.frontend.from_xgboost` instead. Load a tree ensemble model from an XGBoost Booster object. Parameters @@ -187,7 +187,7 @@ def from_xgboost_json( allow_unknown_field: bool = False, ) -> Model: """ - Deprecated. Please use :py:meth:`~treelite.frontend.from_xgboost_json` instead. + Deprecated; please use :py:meth:`~treelite.frontend.from_xgboost_json` instead. Load a tree ensemble model from a string containing XGBoost JSON. Parameters @@ -218,7 +218,7 @@ def from_xgboost_json( @classmethod def from_lightgbm(cls, booster): """ - Deprecated. Please use :py:meth:`~treelite.frontend.from_lightgbm` instead. + Deprecated; please use :py:meth:`~treelite.frontend.from_lightgbm` instead. Load a tree ensemble model from a LightGBM Booster object. Parameters