Open cgcodeboy opened 4 years ago
There may be no good reason except that they haven't been implemented yet.
I would like to pick this up. Need some pointers .
Have a look at other estimators where multioutput classification is supported. Understand the shape of the input and output and look at the tests for multioutput support on those classifiers. Add a test corresponding to similar functionality in test_voting.py (that checks multioutput data can be fitted and can be predicted with the correct shape). That test should fail. You can then open a WIP pull request, or continue on to implementing a fix. Thanks!
@jnothman Is this still desirable? If so, I'm happy to look into how to add this feature.
@adam2392 I think this can still be fixed. Would be nice if you could have a look.
I have a working draft in https://github.com/scikit-learn/scikit-learn/pull/29238 on extending multilabel-indicator support for VotingClassifier
in case it is of interest for people to review.
There's some code I can clean up, but the unit-tests should demonstrate the new feature
Description
There is so many classifiers that can not use multilabel, but why voting classifier and bagging classifier can not use multilabel? the base classifier in the voting and bagging classifer already support multilabel.