CoolFace
Apppublic

liangym0532/crc-m1-3month-mortality-calculator

sourceHugging Faceupdated 2mo agoView on Hugging Face
0likes
App README

CRC-M1 3-month mortality risk calculator

This Hugging Face Space hosts a Gradio-based research calculator for estimating 3-month mortality risk in patients with de novo metastatic colorectal cancer.

Intended use

This calculator is intended for research support, early risk recognition, MDT discussion, supportive-care planning, and case-mix interpretation. It is not a stand-alone clinical decision-making system.

Input variables

The model uses diagnosis-stage, treatment-free variables:

  • —Age at diagnosis
  • —Tumor grade
  • —T stage
  • —Primary site
  • —Tumor size (mm)
  • —Marital status
  • —Liver metastasis at diagnosis
  • —CEA before treatment
  • —N stage

Interface labels are simplified for readability. The model still receives the original SEER-derived coded values from feature_schema.json; categories have not been merged or redefined.

Notes on selected display labels

Tumor grade is displayed as:

  • —Grade I — well differentiated
  • —Grade II — moderately differentiated
  • —Grade III — poorly differentiated
  • —Grade IV — undifferentiated/anaplastic
  • —Unknown

Marital status is displayed using short labels such as Married, Single, Divorced, Separated, Widowed, Domestic partner / unmarried partner, and Unknown.

CEA before treatment is displayed as Negative, Borderline, Positive, Ordered/no result, and Unknown.

Files

  • —app.py: Gradio application.
  • —requirements.txt: Python dependencies.
  • —model/calculator_model.joblib: trained calculator model.
  • —model/feature_schema.json: input schema and internal coded values.
  • —example_input.csv: example data template.