dmlc / dmlc/xgboost

Questions about details of Multi-Class classification and monotonicity constraints

Open
#9,647 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
28.8k
Forks
8.9k
Avg merge
1d 12h
Merged PRs (30d)
54

Description

I have questions regarding how multi-class classification is optimized by the package and the monotonicity constraints:

(1) To optimize the multiple class (m classes), the Gradients and Hessians are calculated for each class and used to split the trees. So for each tree, the split is independent? If I want to use m binary models to replicate the multi-class one, I only need to use a customized objective function to calculate the softmax G and H and sent back to each model, is this correct?

(2) If I want to have different monotonicity constraints for each sub-model, how can I do that? Is the current package able to accommodate this demand?

Thank you a lot!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.