square / pysurvival

Open source package for Survival Analysis modeling
https://www.pysurvival.io/
Apache License 2.0
347 stars 107 forks source link

Multiclass methods: Gradient always exploding #34

Open jattenberg opened 3 years ago

jattenberg commented 3 years ago

I've had some success using other methods to predict survival for my business problem. However, I can never get either of the multi class methods to work. I'm met each time with The gradient exploded... You should reduce the learningrate (lr) of your optimizer. I've tried extremely small learning rates, but still the same result.

ram-ch commented 2 years ago

I am facing the same issue. any solution to this problem?

srikrish010697 commented 2 years ago

Try setting auto_scalar=False

sclee0624 commented 1 year ago

I set auto_scalar = False, but am still getting the same error. Is there any solution?