Xgboost: what is difference between reg:logistic and binary:logistic?

Created on 30 Sep 2015  路  6Comments  路  Source: dmlc/xgboost

What's the difference between reg:logistic and binary:logistic? They all output probability and use logistic loss.

Most helpful comment

There is no difference, except that the default evaluation metric for reg:logistic is rmse, as far as I recall

All 6 comments

There is no difference, except that the default evaluation metric for reg:logistic is rmse, as far as I recall

What about the training data?
I once thought I can only feed the training data with target label y to be {0 or 1} when i set the objective to binary:logistic while the y should be a continuous value between 0 and 1 when i set the objective to reg:logistic.

There is no difference in terms of training data. You can also feed in probabilistic values in [0,1]

I got it. Thank you!

Hello,
I have a question. How is it possible that you pass a continuous (probabilistic) value to the logistic objective (I mean, the label data)? I have never encountered this before. Are you able to point me how does the logistic objective look like in xgboost? I know that you can simply put continuous value to the standard logistic objective, but does it make any sense and have some scientific justification? I'm not trying to discredit the approach in any way, just trying to understand it.

Was this page helpful?
0 / 5 - 0 ratings