autonlab / auton-survival

Auton Survival - an open source package for Regression, Counterfactual Estimation, Evaluation and Phenotyping with Censored Time-to-Events
http://autonlab.github.io/auton-survival
MIT License
315 stars 74 forks source link

The parameter of shape and scale become NaN #107

Closed JiangWatson closed 1 year ago

JiangWatson commented 1 year ago

hello, I use to DeepRecurrentSurvivalMachines to model the staying length in ICU, the parameter of shape and scale become NaN after the first back propagation. how to deal with input data?

chiragnagpal commented 1 year ago

are you sure there are no nans in the input or the labels?

JiangWatson commented 1 year ago

Thanks for your reply! I have fixed the problem. There is a zero value in survival time.

chiragnagpal commented 1 year ago

great, Thank you 👍 :)