Skip to content

Commit

Permalink
removed the other objective in the dict
Browse files Browse the repository at this point in the history
  • Loading branch information
EchoDel committed Dec 4, 2023
1 parent 3b3cff4 commit 2fa3eac
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lightgbmlss/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,9 @@ def set_params(self, params: Dict[str, Any]) -> Dict[str, Any]:
"""
params_adj = {"num_class": self.dist.n_dist_param,
"metric": "None",
"objective": "None",
"random_seed": 123,
"verbose": -1,
'objective': self.dist.objective_fn}
"objective": self.dist.objective_fn}
params.update(params_adj)

return params
Expand Down

0 comments on commit 2fa3eac

Please sign in to comment.