Skip to content
Snippets Groups Projects
Commit a1bdb8f2 authored by Joseph Weston's avatar Joseph Weston
Browse files

correct raised exception

parent cc188c04
No related branches found
No related tags found
1 merge request!4Implement BalancingLearner
......@@ -451,7 +451,7 @@ class BalancingLearner(BaseLearner):
in self.learners])
if len(set(learner.__class__ for learner in self.learners)) > 1:
raise Exception('A BalacingLearner can handle only one type'
raise TypeError('A BalacingLearner can handle only one type'
'of learners.')
def choose_points(self, n, add_data=True):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment