arXiv:2607.09431v2 stat.CO

comprisk: 경쟁 위험 생존 분석을 위한 scikit-learn 호환 Python 툴킷

comprisk: A scikit-learn-compatible Python toolkit for competing-risks survival analysis

Sunny Yang, Weiyan Zhao, Wanqi Zhao

제출 2026-07-10

한국어 초록

의료 사건 시간(time-to-event) 데이터는 한 가지 종단 사건의 발생이 다른 사건의 발생을 배제하는 경쟁 위험(competing risks)에 자주 직면하며, 경쟁 사건을 중도절단(censoring)으로 처리하는 표준 생존 분석 방법은 편향된 절대 위험 추정치를 생성합니다. 따라서 타당한 분석을 위해서는 원인별 누적 발생 함수(CIF)를 목표로 해야 합니다. 이러한 방법론은 응용 연구자들에게 거의 전적으로 R 패키지를 통해서만 제공되어 왔으며, 이로 인해 Python 기반 머신러닝 워크플로에서 Python과 R을 오가는 번거로운 과정을 거쳐야 했습니다. 본 논문에서는 표준 경쟁 위험 방법들을 단일 API로 통합한 scikit-learn 호환 Python 툴킷인 comprisk를 제시합니다. 여기에는 확장 가능한 경쟁 위험 랜덤 생존 포레스트(random survival forest), Fine-Gray 하위 분포 위험(subdistribution-hazard) 회귀 및 벌점화 변형, 원인별 Cox 회귀, Aalen-Johansen CIF 추정기, Gray의 K-표본 검정과 함께 경쟁 위험을 고려한 모델(model) 평가가 포함됩니다. 모든 추정기는 R 참조 구현체와 수치적으로 대조 검증되었습니다. 포레스트는 히스토그램 기반의 Numba 컴파일 분할 커널(kernel)을 사용하여 실제 임상 코호트에서 동등한 변별력을 유지하면서 randomForestSRC 대비 10~22배 빠르게 적합되며, 소비자용 CPU에서 n = 10^6 규모까지 확장할 수 있습니다. comprisk는 PyPI를 통해 배포되며, 응용 연구자들이 Python 과학 생태계를 벗어나지 않고도 정확하고 확장 가능한 경쟁 위험 분석을 수행할 수 있도록 지원합니다.

원문 초록

Medical time-to-event data are frequently subject to competing risks, where the occurrence of one terminal event precludes the others and standard survival methods that treat competing events as censoring yield biased absolute-risk estimates. Valid analysis instead targets the cause-specific cumulative incidence function (CIF). This methodology has been available to applied researchers almost exclusively through R packages, forcing Python-based machine-learning workflows into a Python-to-R round trip. We present comprisk, a scikit-learn-compatible Python toolkit that puts the canonical competing-risks methods behind one API: a scalable competing-risks random survival forest, Fine-Gray subdistribution-hazard regression and a penalized variant, cause-specific Cox regression, the Aalen-Johansen CIF estimator, and Gray's K-sample test, together with competing-risks-aware model evaluation. Every estimator is validated numerically against its R reference implementation. The forest uses a histogram-based, numba-compiled split kernel that fits 10-22x faster than randomForestSRC at comparable discrimination on real clinical cohorts and scales to n = 10^6 on a consumer CPU. comprisk is distributed on PyPI and lets applied researchers run correct, scalable competing-risks analysis without leaving the Python scientific stack.

제출 이력

확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.

  1. arXiv:2607.09431v2제출 시각 미확인
  2. arXiv:2607.09431v1제출 시각 미확인

함께 살펴볼 논문

공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.

공통 태그로 연결된 공개 논문이 아직 없습니다.

토론

이 논문과 연결된 포럼 글이 아직 없습니다.