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

Global explanation in multiclass #448

Closed
Saurid3 opened this issue Jul 6, 2023 · 3 comments
Closed

Global explanation in multiclass #448

Saurid3 opened this issue Jul 6, 2023 · 3 comments

Comments

@Saurid3
Copy link

Saurid3 commented Jul 6, 2023

I tried my multiclass data on EBM using Jupiter notebook and obtained the following result when I called Global explanation(see Fig below), Where FN is the feature and 0, 1, 2, and 3 are classes, 0 indicates no danger, 1 indicates slight danger, 2 indicates moderate danger and 3 indicates extreme danger.
image

So this is how I explained:
When FN is less, the possibility of occurring 3 and 4 is also less. FN lesser than 10 risk of 0 and 1 is more likely to occur; however, when the FN value increases from 10 to more, the risk of 2 and 3 are rising. As the FN escalates more, which is 30 or above, the risk of 3 is very high.

Is this the correct way to describe it? In binary classification, we only have a single curve, which is easily interpreted by observing rising and falling; however, in multiclass, while one class increases, another might decrease.

The answers will be helpful to all who need clarification about how to explain multiple curves from the same graph.

@paulbkoch
Copy link
Collaborator

paulbkoch commented Jul 7, 2023

Yes, that sounds reasonable to me. The risk of 2 goes down after the short rise above 10, and I think you meant 2 and 3 instead of 3 and 4, but I agree with the rest.

@Saurid3
Copy link
Author

Saurid3 commented Jul 8, 2023

Thank you for pointing this out; my bad; yes, it is 2 and 3 instead of 3 and 4. This algorithm is too good and very helpful in understanding the model's decision. This is the best algorithm I have ever used.

@paulbkoch
Copy link
Collaborator

Thanks @Saurid3. Glad to hear you're finding EBMs useful. 👍

Closing this issue for now. If you have any other questions, please re-open.

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

No branches or pull requests

2 participants