Github user yanboliang commented on the issue:
    @srowen @WeichenXu123 
    It make sense to remove the datum with label 0, as we compute 
```log(label)``` which may lead to ```-Infinity``` and eventually causes the 
error. Thanks for catching this.
    BTW, what do you think add check when fitting the AFT survival regression 
    def add(data: AFTPoint): this.type = {
        val xi = data.features
        val ti = data.label
        val delta = data.censor
        require(ti > 0.0, "The lifetime or label should be  greater than 0.")

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to