From ae1662028a20e66ea101c120f8ee73bbdde585de Mon Sep 17 00:00:00 2001 From: Nikhil Choudhary <49715980+Nikhil1O1@users.noreply.github.com> Date: Sun, 15 Nov 2020 11:18:08 +0530 Subject: [PATCH] Fixed few grammatical mistakes in doc (#6393) --- python-package/xgboost/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-package/xgboost/core.py b/python-package/xgboost/core.py index 17804715c..30d169a5a 100644 --- a/python-package/xgboost/core.py +++ b/python-package/xgboost/core.py @@ -426,7 +426,7 @@ def _deprecate_positional_args(f): class DMatrix: # pylint: disable=too-many-instance-attributes """Data Matrix used in XGBoost. - DMatrix is a internal data structure that used by XGBoost + DMatrix is an internal data structure that is used by XGBoost, which is optimized for both memory efficiency and training speed. You can construct DMatrix from multiple different sources of data. """ @@ -1695,7 +1695,7 @@ class Booster(object): """Load the model from a file or bytearray. Path to file can be local or as an URI. - The model is loaded from an XGBoost format which is universal among the + The model is loaded from XGBoost format which is universal among the various XGBoost interfaces. Auxiliary attributes of the Python Booster object (such as feature_names) will not be loaded. See: