I am working on a classification project that an outcome may belong to multiple classes. For example, the outcomes may belong to Class A, B, and/or C; e.g., A, B, A&B, A&C, B&C, etc. However, I want to predict the probability of a class. For example, P(A)=Prob of outcome contains Class A; e.g., Pr(A)+Pr(A&B)+Pr(A&C)+Pr(A&B&C).
I prefer using LightGBM for it. My questions are:
4 years later: I have run into a similar problem where I want to train a multi-label classification model using lightgbm/ xgboost. To the best of my knowledge, there still isn't one for lightgbm but you can implement it on xgboost: https://xgboost.readthedocs.io/en/stable/tutorials/multioutput.html
So the answer to your question 1 is yes, for lightgbm the labels have to be mutually exclusive.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With