Skip to content

Commit

Permalink
Update test case
Browse files Browse the repository at this point in the history
  • Loading branch information
lixfz committed Jun 30, 2023
1 parent 1065ac1 commit ca43cbd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hypernets/tests/model/test_objectives.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ def predict_proba(self, X, **kwargs):
def predict(self, X, **kwargs):
return self.proba[:, 1] > 0.5

@property
def _estimator_type(self):
return 'classifier'


class TestPredictionObjective:

Expand Down

0 comments on commit ca43cbd

Please sign in to comment.