delete duplicated code in python-package (#2985)

This commit is contained in:
csgwma 2017-12-30 20:26:35 +08:00 committed by Tianqi Chen
parent 8d35c09c55
commit 33ac8a0927

View File

@ -139,7 +139,6 @@ class XGBModel(XGBModelBase):
self.silent = silent self.silent = silent
self.objective = objective self.objective = objective
self.booster = booster self.booster = booster
self.nthread = nthread
self.gamma = gamma self.gamma = gamma
self.min_child_weight = min_child_weight self.min_child_weight = min_child_weight
self.max_delta_step = max_delta_step self.max_delta_step = max_delta_step