Skip to content

Commit

Permalink
Merge pull request FederatedAI#2308 from FederatedAI/feature-1.5-fix-…
Browse files Browse the repository at this point in the history
…typo

fix typo
  • Loading branch information
mgqa34 authored Nov 4, 2020
2 parents 0246983 + 56eef4e commit 915d455
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/fate_client/pipeline/param/boosting_param.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ def __init__(self, tree_param: DecisionTreeParam = DecisionTreeParam(), task_typ
validation_freqs=None, early_stopping_rounds=None, use_missing=False, zero_as_missing=False,
complete_secure=False, metrics=None, use_first_metric_only=False, subsample_random_seed=None,
binning_error=consts.DEFAULT_RELATIVE_ERROR,
run_fast_histogram=True):
sparse_optimization=False):

super(HeteroSecureBoostParam, self).__init__(task_type, objective_param, learning_rate, num_trees,
subsample_feature_rate, n_iter_no_change, tol, encrypt_param,
Expand All @@ -446,7 +446,7 @@ def __init__(self, tree_param: DecisionTreeParam = DecisionTreeParam(), task_typ
self.zero_as_missing = zero_as_missing
self.use_missing = use_missing
self.complete_secure = complete_secure
self.run_fast_histogram = run_fast_histogram
self.sparse_optimization = sparse_optimization

def check(self):

Expand Down

0 comments on commit 915d455

Please sign in to comment.