API Reference
Performance Data
Prepare classification and time-to-event data for visualization.
- prepare_performance_data()
-
Prepare performance data for binary classification models.
- prepare_binned_classification_data()
-
Prepare probability-binned classification data for binary outcomes.
- prepare_performance_data_times()
-
Prepare performance data for models with time-to-event outcomes.
- prepare_binned_classification_data_times()
-
Prepare binned, time-dependent classification data.
Performance Tables
Summarize model performance across thresholds and time horizons.
- create_performance_table()
-
Create an R-style rtichoke performance table.
- create_performance_table_times()
-
Create a time-dependent rtichoke performance table.
- render_performance_table()
-
Render prepared performance data with a selected table backend.
Discrimination
ROC, precision-recall, gains, and lift visualizations.
- create_roc_curve()
-
Creates a Receiver Operating Characteristic (ROC) curve.
- create_roc_curve_times()
-
Creates a time-dependent Receiver Operating Characteristic (ROC) curve.
- plot_roc_curve()
-
Plots an ROC curve from pre-computed performance data.
- create_precision_recall_curve()
-
Creates a Precision-Recall curve.
- create_precision_recall_curve_times()
-
Creates a time-dependent Precision-Recall curve.
- plot_precision_recall_curve()
-
Plots a Precision-Recall curve from pre-computed performance data.
- create_gains_curve()
-
Creates a Gains curve.
- create_gains_curve_times()
-
Creates a time-dependent Gains curve.
- plot_gains_curve()
-
Plots a Gains curve from pre-computed performance data.
- create_lift_curve()
-
Creates a Lift curve.
- create_lift_curve_times()
-
Creates a time-dependent Lift curve.
- plot_lift_curve()
-
Plots a Lift curve from pre-computed performance data.
Calibration
Calibration visualizations for classification and time-to-event models. See Curve API Compatibility for time-dependent heuristic and horizon differences.
- create_calibration_curve()
-
Creates Calibration Curve
- create_calibration_curve_times()
-
Create a time-dependent calibration curve across fixed horizons.
Utility
Decision-curve analysis for classification and time-to-event models.
- create_decision_curve()
-
Creates a Decision Curve.
- create_decision_curve_times()
-
Creates a time-dependent Decision Curve.
- plot_decision_curve()
-
Plots a Decision Curve from pre-computed performance data.