Skip to content

Commit 98dc009

Browse files
authored
1 parent 32091d3 commit 98dc009

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

machine_learning/xgboostclassifier.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ def xgboost(features: np.ndarray, target: np.ndarray) -> XGBClassifier:
3333
max_delta_step=0, max_depth=6, max_leaves=0, min_child_weight=1,
3434
missing=nan, monotone_constraints='()', n_estimators=100,
3535
n_jobs=0, num_parallel_tree=1, predictor='auto', random_state=0,
36-
reg_alpha=0, reg_lambda=1)
36+
reg_alpha=0, reg_lambda=1,scale_pos_weight: 1, seed: None,
37+
silent: None, subsample: 1, verbosity: 1)
3738
"""
3839
classifier = XGBClassifier()
3940
classifier.fit(features, target)

0 commit comments

Comments
 (0)