python-m5p icon indicating copy to clipboard operation
python-m5p copied to clipboard

Multi-target regression

Open Albi32 opened this issue 3 years ago • 1 comments

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

Thank you!

Albi32 avatar Nov 29 '22 11:11 Albi32

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 avatar Dec 02 '22 13:12 smarie

Closing as answered

smarie avatar Jun 04 '24 10:06 smarie