Pycox

Latest version: v0.3.0

Safety actively analyzes 701475 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

0.1.0

These note mainly focus on the changes to existing code and not new functionality.

Evaluation criteria

- Fixed wrong index in IPCW.
- `EvalSurv` now has a `steps` argument determining how the survival curve should behave between estimated times.
Previously set to 'pre', but now 'post' is default.
This will affect the concordance for the discrete-time methods the most. Set `ev.step = 'pre'` to obtain old results.
Or use some reasonable interpolation scheme.
- Moved `pycox.evaluation.utils` to `pycox.utils`.
- Replaced the binomial log-likelihood `mbll` with the negative binomial log-likelihood `nbll`. I.e. only the sign is different.

Models

- Replaced `predict_survival_function` with `predict_surv` and `predict_surv_df`.
- More stable version of CoxCC and CoxTime loss for single control.
- Restructured the locations of the Cox models.

Preprocessing

- Added quantiles discretization for methods.

Page 2 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.