My data contains only two labels, open
and close
. When objective = "binary:logistic"
is given to xgboost
engine, the labels underlying in DMatrix are converted into 1 for close
and 0 for open
. How does parsnip
handle the mapping? Is it possible to custom it so labels in DMatrix can use 0 for close
and 1 for open
?
Ok, event_level
is the answer.
1 Like
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.