Backport doc fixes that are compatible with 0.72 release

* Added python doc string for nthreads to dmatrix (#3363)
* Add instruction to compile XGBoost4J multi-threaded on OSX (#3228)
* Params confusion fixed: num_round, scalePosWeight (#3386)
* Added detailed instruction for adding XGBoost4J as Maven dependency (#3374)
This commit is contained in:
ngoyal2707
2018-06-07 19:16:30 -07:00
committed by Philip Cho
parent 23bc3fc4aa
commit d0f45bede0
5 changed files with 74 additions and 9 deletions

View File

@@ -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: