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
Hi Laurae,
Congrats with this superb library.
With few observations xgboost some times returns the same probability to each one, and having the same probability with different labels makes get.max_acc report the inverse of accuracy & the max threshold also is incorrect if we assume that positive obs are > threshold (not >=)
To reproduce it:
get.max_acc(rep(0.502,8),c(0,1,1,1,1,1,1,1))
It gives 0.125 accuracy with 0.502 threshold
Thanks for your time
The text was updated successfully, but these errors were encountered:
Hi Laurae,
Congrats with this superb library.
With few observations xgboost some times returns the same probability to each one, and having the same probability with different labels makes get.max_acc report the inverse of accuracy & the max threshold also is incorrect if we assume that positive obs are > threshold (not >=)
To reproduce it:
get.max_acc(rep(0.502,8),c(0,1,1,1,1,1,1,1))
It gives 0.125 accuracy with 0.502 threshold
Thanks for your time
The text was updated successfully, but these errors were encountered: