CamDavidsonPilon / lifelines

Survival analysis in Python
lifelines.readthedocs.org
MIT License
2.38k stars 560 forks source link

AttributeError: 'PiecewiseExponentialRegressionFitter' object has no attribute '_norm_mean' #1636

Open deril2605 opened 2 months ago

deril2605 commented 2 months ago

Thanks for the great package! I was going over this tutorial https://dataorigami.net/2020/08/03/SaaS-churn-and-piecewise-regression-survival-models.html but I am facing issues with

AttributeError: 'PiecewiseExponentialRegressionFitter' object has no attribute '_norm_mean'

I checked the source code and didn't find an implementation for '_norm_mean' under 'PiecewiseExponentialRegressionFitter'. Is there any alternative for the piece of code?

Thanks,