-
Notifications
You must be signed in to change notification settings - Fork 216
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
Add CoxnetSurvivalAnalysisCV to search for optimal alpha via cross-validation #14
Comments
It appears that there is a
But this still gives error: sfm = SelectFromModel(pipe.get_params()['coxnetsurvivalanalysis'])
sfm.fit(X_train, y_train)
n_features = sfm.transform(X_train).shape[1]
|
The difference is that the |
thanks @sebp But then which alpha is used for the score presented from |
The |
Hi @sebp, thank you for this great package. |
@CharlieCheckpt I’m sure you’ve seen this https://gist.github.com/sebp/d580d44c4beab3379c6dfda6810b33b8 While it does |
The sklearn way to determine the optimal alpha without The only disadvantage to the |
Curious to know if it is possible to extract the sparse features in a Cox model from L1 models.
when applying this:
... I get:
source
Thanks for all the input!
[edited]
The text was updated successfully, but these errors were encountered: