From 30e1cb4e9e6eec58f90db4ea06523b076374479a Mon Sep 17 00:00:00 2001 From: Philip Hyunsu Cho Date: Thu, 20 Jun 2019 21:44:42 -0700 Subject: [PATCH] Fix docstring for XGBModel.predict() [skip ci] (#4592) --- python-package/xgboost/sklearn.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-package/xgboost/sklearn.py b/python-package/xgboost/sklearn.py index dc1d73e3f..a680bb736 100644 --- a/python-package/xgboost/sklearn.py +++ b/python-package/xgboost/sklearn.py @@ -431,8 +431,8 @@ class XGBModel(XGBModelBase): Parameters ---------- - data : DMatrix - The dmatrix storing the input. + data : numpy.array/scipy.sparse + Data to predict with output_margin : bool Whether to output the raw untransformed margin value. ntree_limit : int