There was an error while loading. Please reload this page.
1 parent e6aa95e commit 1b233d6Copy full SHA for 1b233d6
examples/concept_learning_with_evolearner.py
@@ -60,7 +60,7 @@
60
61
model.save_best_hypothesis(n=3, path='Predictions_{0}'.format(str_target_concept))
62
# Get Top n hypotheses
63
- hypotheses = list(model.best_hypotheses(n=3))
+ hypotheses = list(model.best_hypotheses(n=3, return_node=True))
64
# Use hypotheses as binary function to label individuals.
65
predictions = model.predict(individuals=list(typed_pos | typed_neg),
66
hypotheses=hypotheses)
0 commit comments