From 5b430ee0198c4573fc2beb72f42c739e73f2f1b5 Mon Sep 17 00:00:00 2001 From: Tianqi Chen Date: Sat, 2 May 2015 19:29:17 -0700 Subject: [PATCH] Update xgboost.py --- wrapper/xgboost.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wrapper/xgboost.py b/wrapper/xgboost.py index 9bf8baed7..4a8c307c0 100644 --- a/wrapper/xgboost.py +++ b/wrapper/xgboost.py @@ -867,7 +867,8 @@ class XGBClassifier(XGBModel, XGBClassifier): nthread=-1, gamma=0, min_child_weight=1, max_delta_step=0, subsample=1, colsample_bytree=1, base_score=0.5, seed=0): super(XGBClassifier, self).__init__(max_depth, learning_rate, n_estimators, silent, objective, - nthread, gamma, min_child_weight, max_delta_step, subsample, colsample_bytree, + nthread, gamma, min_child_weight, max_delta_step, subsample, + colsample_bytree, base_score, seed) def fit(self, X, y, sample_weight=None):