Skip to main content

Coxs partial likelihood in Tensorflow

Project description

TensorCox

Tensorflow implementation of Coxs' partial likelihood [^1] based on a counting process representation[^2]. Combining Cox's model with the counting process representation allows for more complex censoring patterns as well as the inclusion of time-varying covariates. Implementing this in Tensorflow with batch optimization methods gives us a powerful approach that can scale to big data problems and make full use of distributed computing environments. Since the algorithm is fully written in Tensorflow it is easy to integrate it into larger workflows and combine it with Neural Networks etc.

Installation

pip install TensorCox

Documentation

Documentation for TensorCox is available at https://tensorcox.readthedocs.io/en/latest/

References

[^1]: Cox, D. R. (1972). Regression models and life‐tables. Journal of the Royal Statistical Society: Series B (Methodological), 34(2), 187-202. [^2]: Andersen, P. K., & Gill, R. D. (1982). Cox's regression model for counting processes: a large sample study. The annals of statistics, 1100-1120.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tensorcox-0.1.tar.gz (4.1 kB view details)

Uploaded Source

File details

Details for the file tensorcox-0.1.tar.gz.

File metadata

  • Download URL: tensorcox-0.1.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.1 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.6.7

File hashes

Hashes for tensorcox-0.1.tar.gz
Algorithm Hash digest
SHA256 ab763abe093cec372b41b149914b018644e56967d884d5de7a31ceae68b5d7aa
MD5 22bcb04348677f0ad0cf9e22ea771a9c
BLAKE2b-256 35564802784350bff4ea72cc1970fd5f33beda8a8e87823556c1b54d6283a181

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page