Mark Scikit-Learn RF interface as experimental in doc. (#4258)

* Mark Scikit-Learn RF interface as experimental in doc.
This commit is contained in:
Jiaming Yuan
2019-03-16 00:45:32 +08:00
committed by GitHub
parent 5465b73e7c
commit 7b1b11390a
2 changed files with 27 additions and 10 deletions

View File

@@ -884,7 +884,7 @@ class XGBClassifier(XGBModel, XGBClassifierBase):
class XGBRFClassifier(XGBClassifier):
# pylint: disable=missing-docstring
__doc__ = "Implementation of the scikit-learn API "\
__doc__ = "Experimental implementation of the scikit-learn API "\
+ "for XGBoost random forest classification.\n\n"\
+ '\n'.join(XGBModel.__doc__.split('\n')[2:])
@@ -923,7 +923,7 @@ class XGBRegressor(XGBModel, XGBRegressorBase):
class XGBRFRegressor(XGBRegressor):
# pylint: disable=missing-docstring
__doc__ = "Implementation of the scikit-learn API "\
__doc__ = "Experimental implementation of the scikit-learn API "\
+ "for XGBoost random forest regression.\n\n"\
+ '\n'.join(XGBModel.__doc__.split('\n')[2:])