Skip to content
Snippets Groups Projects
Commit a83236d8 authored by Baptiste Bauvin's avatar Baptiste Bauvin
Browse files

Changed name in test and removed a print in mumbo

parent 32ab7a9e
No related branches found
No related tags found
No related merge requests found
......@@ -178,7 +178,6 @@ class MumboClassifier(BaseEnsemble, ClassifierMixin, UBoosting):
"""Check the estimator and set the base_estimator_ attribute."""
super(MumboClassifier, self)._validate_estimator(
default=DecisionTreeClassifier(max_depth=1))
print()
if not has_fit_parameter(self.base_estimator_, "sample_weight"):
raise ValueError("%s doesn't support sample_weight."
% self.base_estimator_.__class__.__name__)
......
......@@ -59,7 +59,7 @@ from multimodal.boosting.mumbo import MumboClassifier
from multimodal.tests.test_combo import NoSampleWeightLasso
class TestMuCumboClassifier(unittest.TestCase):
class TestMumboClassifier(unittest.TestCase):
@classmethod
def setUpClass(clf):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment