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

Multi-target regression #12

Closed
Albi32 opened this issue Nov 29, 2022 · 2 comments
Closed

Multi-target regression #12

Albi32 opened this issue Nov 29, 2022 · 2 comments

Comments

@Albi32
Copy link

Albi32 commented Nov 29, 2022

Hi!
I really like your work with M5P, I would like to ask if it can be used for multi-target regression.

Thank you!

@smarie
Copy link
Owner

smarie commented Dec 2, 2022

Hello @Albi32, thanks for the kind words !

Unfortunately the current implementation does not support it. In terms of design, the "easiest" way to support multi-target regression would be to create one independent M5P model per target. This is supported in scikit-learn, using the MultiOutputRegressor meta-model: https://scikit-learn.org/stable/modules/multiclass.html#multioutputregressor

Would this suit your needs?

@smarie
Copy link
Owner

smarie commented Jun 4, 2024

Closing as answered

@smarie smarie closed this as completed Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants