Survival concordance - CyrilB1531/lodestar GitHub Wiki
Development build. This page describes
main, not a released package. The latest published Lodestar.Survival is 0.2.0 — read its documentation.
Home › Survival › Survival estimators
Concordance
Harrell's concordance index on any predicted scores: lifelines' utils.concordance_index.
public static class Concordance
Example — scores that order four of five pairs correctly.
using Lodestar.Survival;
double c = Concordance.Index([1, 2, 3, 4, 5], [2, 1, 3, 5, 4]); // => 0.8
Remarks — the index CoxSummary reports for its own fit, opened to any score: a
survival model's prediction, a risk score negated, a biomarker. Reference behaviour is
lifelines.utils.concordance_index 0.30.3.
Applies to — net10.0, netstandard2.0.
See also — the estimators index, CoxSummary.
Members
| Member | What it does |
|---|---|
Concordance.Index |
The share of comparable pairs the scores order correctly. |