Closed minxueric closed 1 year ago
In the _create_loss function, the loss_breslow is something divided by Obs. However the variable Obs is the count of events in a batch, which is likely to be 0.
How do you solve this problem?
Maybe you can try to add some codes to manually skip the batch if you found that there is no event observation in this batch.
In the _create_loss function, the loss_breslow is something divided by Obs. However the variable Obs is the count of events in a batch, which is likely to be 0.
How do you solve this problem?