From 902ecbade8b5f786c2ec656df30aea2d76c6c443 Mon Sep 17 00:00:00 2001 From: ngoyal2707 Date: Thu, 7 Jun 2018 19:16:30 -0700 Subject: [PATCH] added python doc string for nthreads to dmatrix (#3363) --- python-package/xgboost/core.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python-package/xgboost/core.py b/python-package/xgboost/core.py index 724918c51..83877c2d1 100644 --- a/python-package/xgboost/core.py +++ b/python-package/xgboost/core.py @@ -254,6 +254,9 @@ class DMatrix(object): Set names for features. feature_types : list, optional Set types for features. + nthread : integer, optional + Number of threads to use for loading data from numpy array. If -1, + uses maximum threads available on the system. """ # force into void_p, mac need to pass things in as void_p if data is None: