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

Random survival forest #38

Merged
merged 56 commits into from
Aug 1, 2023
Merged

Random survival forest #38

merged 56 commits into from
Aug 1, 2023

Conversation

derrynknife
Copy link
Owner

Merging initial attempt at parametric survival tree and proportional incidence models

anthonycarbone and others added 30 commits February 28, 2023 19:39
- Parallelised Tree training
- Made Weibull fitting of terminal nodes lazy
…es. Done in preparation for future non-parametric RSFs with arbitrarily truncated or censored data.
…ged forest scoring function to use mortality instead of Hf
added cache to the SurpyvalData to_xrd
added use of pinv to coxph model
Removed renewal class as it is not needed.
added RecurrentEventData class to be optionally returned from the handle_xicn function.
Changed to recurrent_utils.py
Implemented the GRP and G1-RP fit and simulate methods.
Update the __iter__ method for the SurpyvalData class to allow to unpack the xcnt using the asterisk operator.
Updated xicn_handler to accomodate interval censored counts.
Implemented the HPP class with all types of censoring. A good general solution!
Allowed for more than one left censored count in the RecurrentData
Large Update: Completely rewrote the create_ll function. Corrected errors in the equations for the NHPP models.
added simulation and plot functions to the ParametricRecurrence model
updated RecurrentEventData to accommodate for 2D x
Added two recurrent data sets
Added ability to use covariate information
added ParametricRecurrenceRegressionModel class
added init file to regression module
Created NHPP and HPP proportional intensity fitters and models
Changed tree and forest to allow for parametric or non-parametric leaves. Also added min_leaf_samples, while keeping min_leaf_failures, as fitting parameters.
@derrynknife derrynknife merged commit f3ed2be into master Aug 1, 2023
0 of 2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants