Skip to content

Commit

Permalink
fix test_nomogram_lr for developlement scikit
Browse files Browse the repository at this point in the history
  • Loading branch information
markotoplak authored and janezd committed Oct 4, 2024
1 parent f7fe7eb commit ec7fa0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Orange/widgets/visualize/tests/test_ownomogram.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def setUpClass(cls):
super().setUpClass()
cls.data = Table("heart_disease")
cls.nb_cls = NaiveBayesLearner()(cls.data)
cls.lr_cls = LogisticRegressionLearner()(cls.data)
cls.lr_cls = LogisticRegressionLearner(max_iter=1000)(cls.data)
cls.titanic = Table("titanic")
cls.lenses = Table(test_filename("datasets/lenses.tab"))

Expand Down Expand Up @@ -86,7 +86,7 @@ def test_nomogram_nb(self):
def test_nomogram_lr(self):
"""Check probabilities for logistic regression classifier for various
values of classes and radio buttons"""
self._test_helper(self.lr_cls, [61, 39])
self._test_helper(self.lr_cls, [57, 43])

def test_nomogram_nb_multiclass(self):
"""Check probabilities for naive bayes classifier for various values
Expand Down

0 comments on commit ec7fa0a

Please sign in to comment.