Metrics#

brier_score(survival_train, survival_test, ...)

The time-dependent Brier score for right-censored data.

concordance_index_censored(event_indicator, ...)

Measures the agreement between a predicted risk score and the actual time-to-event.

concordance_index_ipcw(survival_train, ...)

Concordance index for right-censored data based on inverse probability of censoring weights.

cumulative_dynamic_auc(survival_train, ...)

Computes the cumulative/dynamic area under the ROC curve (AUC) for right-censored data.

integrated_brier_score(survival_train, ...)

Computes the integrated Brier score (IBS).

as_concordance_index_ipcw_scorer(estimator)

Wraps an estimator to use concordance_index_ipcw() as score function.

as_cumulative_dynamic_auc_scorer(estimator, ...)

Wraps an estimator to use cumulative_dynamic_auc() as score function.

as_integrated_brier_score_scorer(estimator, ...)

Wraps an estimator to use the negative of integrated_brier_score() as score function.