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.1.0.tar.gz (8.2 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.1.0-py3-none-any.whl (36.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cenreg-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6dfc7f6f29f0da75ab8689be00b8cb093fed373af0cd6083aee2fde56c1d1531
MD5 032af2b61b6103569a4f2976f1ea33b8
BLAKE2b-256 93caaacdb32028c071ec1a768dea9d04f233036550abd47746291968db9f7446

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for cenreg-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1b741c8b9912bda244fd436615400e9c6846e082c9bf3e22507207e86b46bfb6
MD5 1ab04c15c2e40e661982f555b365cb59
BLAKE2b-256 4d606be4bd29348dd809fefc716a59c02675a935148848539ff77a36a3af8758

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