Update document. (#5572)
This commit is contained in:
parent
c355ab65ed
commit
f27b6f9ba6
@ -133,7 +133,8 @@ Most of the objective functions implemented in XGBoost can be run on GPU. Follo
|
|||||||
|
|
||||||
Objective will run on GPU if GPU updater (``gpu_hist``), otherwise they will run on CPU by
|
Objective will run on GPU if GPU updater (``gpu_hist``), otherwise they will run on CPU by
|
||||||
default. For unsupported objectives XGBoost will fall back to using CPU implementation by
|
default. For unsupported objectives XGBoost will fall back to using CPU implementation by
|
||||||
default.
|
default. Note that when using GPU ranking objective, the result is not deterministic due
|
||||||
|
to the non-associative aspect of floating point summation.
|
||||||
|
|
||||||
Metric functions
|
Metric functions
|
||||||
===================
|
===================
|
||||||
|
|||||||
@ -296,10 +296,6 @@ class XGBModel(XGBModelBase):
|
|||||||
# 2. Return whatever in `**kwargs`.
|
# 2. Return whatever in `**kwargs`.
|
||||||
# 3. Merge them.
|
# 3. Merge them.
|
||||||
params = super().get_params(deep)
|
params = super().get_params(deep)
|
||||||
if hasattr(self, '__copy__'):
|
|
||||||
warnings.warn('Calling __copy__ on Scikit-Learn wrapper, ' +
|
|
||||||
'which may disable data cache and result in ' +
|
|
||||||
'lower performance.')
|
|
||||||
cp = copy.copy(self)
|
cp = copy.copy(self)
|
||||||
cp.__class__ = cp.__class__.__bases__[0]
|
cp.__class__ = cp.__class__.__bases__[0]
|
||||||
params.update(cp.__class__.get_params(cp, deep))
|
params.update(cp.__class__.get_params(cp, deep))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user