We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb4551c commit 8a5dc0bCopy full SHA for 8a5dc0b
Orange/widgets/visualize/tests/test_owruleviewer.py
@@ -14,6 +14,9 @@ def setUp(self):
14
self.titanic = Table('titanic')
15
self.learner = CN2Learner()
16
self.classifier = self.learner(self.titanic)
17
+ # CN2Learner does not add `instances` attribute to the model, but
18
+ # the Rules widget does. We simulate the model we get from the widget.
19
+ self.classifier.instances = self.titanic
20
self.widget = self.create_widget(OWRuleViewer)
21
22
def test_set_data(self):
0 commit comments