Fix typo in sklearn documentation (#2580)
This commit is contained in:
parent
2b3a4318c5
commit
a0c5bde024
@ -183,7 +183,7 @@ class XGBModel(XGBModelBase):
|
||||
return self._Booster
|
||||
|
||||
def get_params(self, deep=False):
|
||||
"""Get parameter.s"""
|
||||
"""Get parameters."""
|
||||
params = super(XGBModel, self).get_params(deep=deep)
|
||||
if isinstance(self.kwargs, dict): # if kwargs is a dict, update params accordingly
|
||||
params.update(self.kwargs)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user