Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

about hazard value! #163

Open
alexxiecan opened this issue May 6, 2023 · 2 comments
Open

about hazard value! #163

alexxiecan opened this issue May 6, 2023 · 2 comments

Comments

@alexxiecan
Copy link

hi, everyone:

We hope to calculate the output value of the model, namely the hazard risk. Can we use "def predict_ hazard(self, input, batch_size=8224, numpy=None, eval_=True, to_cpu=False,num_workers=0)"? If possible, is the value it returns about the risk of each patient or what other risks?

3ks

@puckybreg
Copy link

Also interested in calculating the hazard beta parameters for the fit model. @alexxiecan I have yet to find anything in the examples or in the code itself that points to the best way to get the covariate effects on the Survival Curve.

For that matter, it seems that PyCox is mostly geared towards prediction and not explanation of the Survival Curve. Am I right in understanding that after fitting the model, there is no clear way to getting at the computed Kaplan-Meir curve beyond running model.predict on the test dataset?

@alexxiecan
Copy link
Author

alexxiecan commented May 21, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants