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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user