Skip to main content

A Python library for censored regression.

Project description

The cenreg Package

The Python package cenreg is repository for probabilistic forecasts such as quantile regression and distribution regression and for censored regression such as survival analysis and interval-censored data analysis.

Getting Started

Prerequisites

You first need to install SurvSet via pip

pip install SurvSet

Additionally, denpending on the models you want to use, you also need to install

  • LightGBM
  • PyTorch

Installation

You can install cenreg via pip:

pip install cenreg

Run Sample Code

You can find our sample codes in the notebooks directory.

Documentation

Read the documentation to get started.

Citation

[1] H. Yanagisawa and S. Akiyama, Survival Analysis via Density Estimation, ICML 2025 (Paper in OpenReview)

  @InProceedings{yanagisawa2025survival,
    author    = {Yanagisawa, Hiroki and Akiyama, Shunta},
    booktitle = {Proceedings of ICML 2025},
    title     = {Survival Analysis via Density Estimation},
    year      = {2025},
  }

[2] H. Yanagisawa, Proper Scoring Rules for Survival Analysis, ICML 2023

@InProceedings{yanagisawa2023proper,
   author    = {Yanagisawa, Hiroki},
   booktitle = {Proceedings of ICML 2023},
   title     = {Proper Scoring Rules for Survival Analysis},
   year      = {2023},
}

Project details


Download files

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

Source Distribution

cenreg-0.0.3.tar.gz (7.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cenreg-0.0.3-py3-none-any.whl (35.1 kB view details)

Uploaded Python 3

File details

Details for the file cenreg-0.0.3.tar.gz.

File metadata

  • Download URL: cenreg-0.0.3.tar.gz
  • Upload date:
  • Size: 7.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.6

File hashes

Hashes for cenreg-0.0.3.tar.gz
Algorithm Hash digest
SHA256 d18817fa58d1be09e6260f036306e9cadca78daedf8392e0874a79945bfc510f
MD5 a0c714a6832589d770c3863e84770fc1
BLAKE2b-256 0d2b49285013e3351f6a838086e1aafc6e8afab55ae824ff53c713a6f7758e5e

See more details on using hashes here.

File details

Details for the file cenreg-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: cenreg-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 35.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.6

File hashes

Hashes for cenreg-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 829d2ef01924d35696ae70645e0a1a15395c1bdf55ad71f939a90d7f0649bb98
MD5 a385a9666e369b0efe949a293959bec4
BLAKE2b-256 55d1e7685aa53b04088c15dceff0a40f9b6198eae2cb9d31f4a0fc08f9c8564c

See more details on using hashes here.

Supported by

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