How to predict risk scores with Cox models using lifelines package?

483 views Asked by At

I have made multiple cox models with Lifelines package and I am trying to predict the risk score of each individual following information in CoxPhFitter page. predict_hazard is a suggested command in that page, but when I use it to predict risk scores, it runs into an error: CoxPHFitter has no attribute 'predict_hazard'. Has anyone else seen such error with predict_hazard?

0

There are 0 answers