Skip to content

Releases: havakv/pycox

Fix breaking updates in sklearn

14 Jan 09:10
0e9d6f9
Compare
Choose a tag to compare
Merge pull request #120 from havakv/bug-fix

Bump version: 0.2.2 → 0.2.3

Bug fixes and dedicated data storage

02 Feb 13:44
64f1c93
Compare
Choose a tag to compare
Use py7zr for uncompressin kkbox data (#69)

Co-authored-by: Haavard Kvamme <haavard.kvamme@abelee.com>

Fix numba changes and update python and pytorch version

30 Apr 08:55
1b94813
Compare
Choose a tag to compare
Update to python 3.8 and pytorch 1.5 (#36)

* Update to python 1.5

* Update setup.py

* Bump version: 0.2.0 → 0.2.1

Co-authored-by: havakv <haavard.kvamme@gmail..com>

Update to work with torchtuples v0.2.0

19 Dec 08:15
37852b0
Compare
Choose a tag to compare

Release notes

Features

  • Administrative Brier score and Binomial log-likelihood for evaluation of data sets with administrative censoring.

  • BCESurv which is a method that disregards censoring and does not enforce monotone survival functions. It is meant to represent a set of binary classifiers that disregards censored observations.

  • Improved kkbox data sets with administrative censoring times and more covariates.

  • sac_admin5 simulated data set with administrative censoring.

  • More simulations studies with covariate dependent censoring times and administrative censoring.

Changes

  • Updated to work with torchtuples v.0.2.0

  • CoxPH now use a regular data set, instead of the durations sorted. The old method is renamed CoxPHSorted but will be removed.

PyPI package

17 Dec 11:15
16e35e8
Compare
Choose a tag to compare

Minor bug fixes and release to PyPI.

v0.1.0

16 Oct 14:45
3f24560
Compare
Choose a tag to compare

Release notes v0.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.