You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**gen_surv** is a Python library for simulating survival data under a wide range of statistical models. Inspired by the R package [genSurv](https://cran.r-project.org/package=genSurv), it offers a unified interface for generating realistic datasets for research, teaching and benchmarking.
19
+
**gen_surv** is a Python library for simulating survival data and producing visualizations under a wide range of statistical models. Inspired by the R package [genSurv](https://cran.r-project.org/package=genSurv), it offers a unified interface for generating realistic datasets for research, teaching and benchmarking.
20
20
21
21
---
22
22
@@ -29,10 +29,10 @@
29
29
- Time-homogeneous hidden Markov model (THMM)
30
30
- Mixture cure and piecewise exponential models
31
31
- Competing risks generators (constant and Weibull hazards)
32
-
- Visualization utilities for simulated datasets
32
+
- Visualization helpers built on matplotlib and lifelines
33
33
- Scikit-learn compatible data generator
34
-
- Conversion helpers for scikit-survival and lifelines
35
-
- Command-line interface and export utilities
34
+
- Conversion utilities for scikit-survival
35
+
- Command-line interface for dataset creation and visualization
36
36
37
37
## Installation
38
38
@@ -44,29 +44,34 @@ Install the latest release from PyPI:
44
44
pip install gen-surv
45
45
```
46
46
47
+
`gen_surv` installs matplotlib and lifelines for visualization. Support for scikit-survival is optional; install it to enable integration with the scikit-survival ecosystem or to run the full test suite:
0 commit comments