add categorical class (#27695)
* add multinomial cpu kernel * fix C++ notype error * fix windows ci array len error * let array len be const * change array to vector * add cuda kernrl with num_distribution is 1, and not support replacement=False * add multinomial python api * support num_distribution different multinomial distributions * add categorical class * fix test_distribution enable_static error * add unittest for different setting of Categorical * optimize format * little change * little change * add raise error if shape not match, optimize format * fix windows CI dtype error in concat * little changes * little changes2 * change values type to int64 * change values type to int64 * change values type to int64
Showing
想要评论请 注册 或 登录