yardstick 1.3.0
New Metrics
-
The Brier score for survival data was added with
brier_survival(). -
The Integrated Brier score for survival data was added with
brier_survival_integrated(). -
The Concordance index for survival data was added with
concordance_survival(). -
Time-Dependent ROC curves estimation for right-censored data can now be
calculated withroc_curve_survival(). -
Time-Dependent ROC AUC estimation for right-censored data can now be
calculated withroc_auc_survival().
Improvements
-
demographic_parity(),equalized_odds(), andequal_opportunity()are new metrics for measuring model fairness. Each is implemented with thenew_groupwise_metric()constructor, a general interface for defining group-aware metrics that allows for quickly and flexibly defining fairness metrics with the problem context in mind. -
metric_set()can now be used with a combination of dynamic and static survival metrics. -
Added a print method for metrics and metric sets (#435).
-
All warnings and errors have been updated to use the cli package for increased clarity and consistency. (#456, #457, #458)
-
brier_survival_integrated()now throws an error if input data only includes 1 evalution time point. (#460) -
Clarifying documentation about how
event_levelalways default to"first. (#432)
Bug Fixes
- Metrics now throw more informative error if
estimateargument is wrongly used. (#443)
Breaking Changes
- Curve metrics now throw an informative error instead of returning
NAwhen missing values are found andna_rm = FALSE. (#344)