Skip to content

Commit 1b233d6

Browse files
committed
updated example
1 parent e6aa95e commit 1b233d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/concept_learning_with_evolearner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060

6161
model.save_best_hypothesis(n=3, path='Predictions_{0}'.format(str_target_concept))
6262
# Get Top n hypotheses
63-
hypotheses = list(model.best_hypotheses(n=3))
63+
hypotheses = list(model.best_hypotheses(n=3, return_node=True))
6464
# Use hypotheses as binary function to label individuals.
6565
predictions = model.predict(individuals=list(typed_pos | typed_neg),
6666
hypotheses=hypotheses)

0 commit comments

Comments
 (0)