added python doc string for nthreads to dmatrix (#3363)
This commit is contained in:
parent
a96039141a
commit
902ecbade8
@ -254,6 +254,9 @@ class DMatrix(object):
|
|||||||
Set names for features.
|
Set names for features.
|
||||||
feature_types : list, optional
|
feature_types : list, optional
|
||||||
Set types for features.
|
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
|
# force into void_p, mac need to pass things in as void_p
|
||||||
if data is None:
|
if data is None:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user