Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does TPOT support multi-label classification? #856

Open
100330706 opened this issue Apr 16, 2019 · 5 comments
Open

Does TPOT support multi-label classification? #856

100330706 opened this issue Apr 16, 2019 · 5 comments
Labels

Comments

@100330706
Copy link

All the posts I have seen about multi-label classification are pretty old so I was wondering if TPOT currently supports it.

Regards.

@weixuanfu
Copy link
Contributor

No, TPOT does not support multi-label classification so far.

@jhmenke
Copy link
Contributor

jhmenke commented Apr 30, 2019

isn't the MNIST example multi-label classification already?
I see now that it's strictly predicting one label only

@weixuanfu
Copy link
Contributor

@jhmenke The MNIST (from scikit-learn) is not a multi-label classification but a multi-class classification.

@eddiebergman
Copy link

eddiebergman commented Dec 1, 2020

Any update on whether this is a planned feature?

As far as I'm aware multi-label is only supported by a subset of sklearn algorithms and some require setting specific options in their __init__ to enable it which seems to go against how TPOT is set up to specify pipelines.

However, some sklearn algorithms automatically infer this and adapt accordingly without any extra specification, perhaps TPOT could do something similar in it's _init_pretest, detecting multi-label labels and reducing the configuration space to just those algorithms which require no extra steps to support it?

https://scikit-learn.org/stable/modules/multiclass.html

@eddiebergman
Copy link

eddiebergman commented Dec 1, 2020

Apologies, I see this feature was started and paused in PR #1001. I'm unlikely to find time for this in the near future but leaving this here to let future visitors of the thread know the current status.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants