dmlc / dmlc/xgboost

[BUG] It seems that the prediction of objective "multi:softprob" is incorrect and the order of the probability is inconsistent with mllib.

Open
#10,646 7 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

multi:softmax output:
WeChatWorkScreenshot_2c4ac7c7-35ba-494f-8942-b0ba5f64027d

multi:softprob output:
WeChatWorkScreenshot_28a6740f-d7f8-467f-9ed1-c05d35f02b2e

these two figure clearly shows that the prediction of "multi:softprob" is incorrect, the first three rows shold be 0 rathe than 1 (just like the prediction of "multi:softmax")

Meanwhile, from what I recall, the order of probabilities in MLlib is the same as the labels when the labels increase while it is not true in XGBoost

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.