Skip to content

Commit

Permalink
Merge pull request FederatedAI#2299 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 98cd658 + 1f05eaf commit 46fd44d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/federatedml/param/boosting_param.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,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,
sparse_optmization=False):
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 @@ -441,7 +441,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.sparse_optimization = sparse_optmization
self.sparse_optimization = sparse_optimization

def check(self):

Expand Down

0 comments on commit 46fd44d

Please sign in to comment.