MAINT Remove redundant sample_weights check in DummyClassifier
@@ -156,7 +156,7 @@ class DummyClassifier(MultiOutputMixin, ClassifierMixin, BaseEstimator):
self.n_outputs_ = y.shape[1]
- check_consistent_length(X, y, sample_weight)
+ check_consistent_length(X, y)
if sample_weight is not None:
sample_weight = _check_sample_weight(sample_weight, X)
