theislab / ehrapy

Electronic Health Record Analysis with Python.
https://ehrapy.readthedocs.io/
Apache License 2.0
235 stars 19 forks source link

Make Survival Analysis Estimators consistent, and pass all required arguments #822

Open eroell opened 2 weeks ago

eroell commented 2 weeks ago

Description of feature

  1. consistency E.g. tl.kmf operates on two arrays (see also #387) while tl.nelson_aalen operates on an anndata. The latter should be the norm here if suitable.
  2. passing all required arguments Then, e.g. tl.weibull doesnt take the entry column or any way to pass this to the fitter; harmonizing this to ensure all flexibility offered by lifelines is userfacing would be a great enhancement!
eroell commented 2 weeks ago

Can also make a suitable checkpoint list here together if it helps!

aGuyLearning commented 1 week ago