You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Probabilistic multiclass prediction in R returns a vector with $m \times n$ values, where $n$ is the number of observations, and $m$ the number of classes.
Setting predict(..., reshape = TRUE) gives the much more intuitive $n \times m$ matrix.
Changing defaults is not the sexiest thing on earth. Still: would it be possible to change the default to reshape = TRUE? I could open a PR with this proposal.
Similar to: microsoft/LightGBM#6131
Probabilistic multiclass prediction in R returns a vector with$m \times n$ values, where $n$ is the number of observations, and $m$ the number of classes.
Setting$n \times m$ matrix.
predict(..., reshape = TRUE)
gives the much more intuitiveChanging defaults is not the sexiest thing on earth. Still: would it be possible to change the default to
reshape = TRUE
? I could open a PR with this proposal.Example
The text was updated successfully, but these errors were encountered: