Open GabrielGimenez opened 3 years ago
I got this warning when fitting a XGBSEDebiasedBCE
model: Warning: Only one class found in a time bucket
Can you explain what it means, please?
@igorkf This warning occurs when a time bucket you don't have any event or only events, so that specific logistic regression for that time bucket will only predict 0 or 1
more details on XGBSEDebiasedBCE works https://loft-br.github.io/xgboost-survival-embeddings/how_xgbse_works.html
When there's no observation in a time bucket in BCE we get a value error
ValueError: Error: No observations in a time bucket
It would be nice to see in which time bucket was the error