Closed manas-kohli closed 1 week ago
How did you install scikit-survival? Via pip, anaconda, or something else?
Can you post the output of the following command please:
import sksurv; sksurv.show_versions()
I installed scikit-survival with anaconda and I realised the numpy version wasn't letting me update beyond 1.26.4. I just got frustated and made a new environment and numpy is now 2.1.3 and it works fine. I'll close this issue
Hello!
This may sound very elementary but I'm trying to follow along the tutorial for scikit-survival. So far things have been working fine but when I try to specifically import the CoxPHSurvivalAnalysis function, I'm getting an error:
This seems like a numpy versioning error which is a bit strange since all the other featuers in sksurv are working fine for import. I'm using PyCharms and anaconda to manage my packages. My current numpy version is 1.26.4 and my scikit-survival package version is 0.23.1
Is there something stupid I'm doing? So far in the first tutorial, every other import has worked fine. Do I need to specifically use numpy 2.0? Any help would be appreciated with this. Thanks in advance!