Skip to content

Commit

Permalink
Merge pull request #32 from jdb78/maintenance/fix-tests
Browse files Browse the repository at this point in the history
Make sklearn 0.24 compatiblen - try 2
  • Loading branch information
jdb78 authored Jan 2, 2021
2 parents 70bf946 + 4d1e17e commit 6fa00e1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lipo/hyperparameter.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,7 @@ def _run_search(self, evaluate_candidates):
maximize=True,
random_state=self.random_state,
)
if self.multimetric_:
metric = self.refit
else:
metric = "score"
metric = "score"

iteration = 0
t = tqdm(total=self.n_iter, desc="Best params at iteration --- with score ----", mininterval=10.0)
Expand Down

0 comments on commit 6fa00e1

Please sign in to comment.