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

out_features size for MLPVanilla #54

Closed
hgjlee opened this issue Nov 15, 2020 · 2 comments
Closed

out_features size for MLPVanilla #54

hgjlee opened this issue Nov 15, 2020 · 2 comments

Comments

@hgjlee
Copy link

hgjlee commented Nov 15, 2020

Does MLPVanilla's out_features for DeepSurv have to stay as size 1? Or is it possible to increase it?

@havakv
Copy link
Owner

havakv commented Nov 15, 2020

Hi, @hgjlee!
The output size of the neural network used by DeepSurv needs to be 1. This is because DeepSurv is just regular CoxPH regression where the the MLP creates a risk score for an individual (represented by some covariates), and this score is scaled to survival or hazard estimates throught a non-parametric function that does not depend on the covariates.

If you could maybe explain why you want an output size that is greater than 1, or what your end goal is, I might be able to assist you further.

@hgjlee
Copy link
Author

hgjlee commented Nov 15, 2020

Great! That makes sense. I was trying to improve the performance level in terms of c-index and was wondering if the output size was hindering it. Your explanation clarified it for me. Thanks!

@hgjlee hgjlee closed this as completed Nov 15, 2020
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