Adopt time-dependent Precision-Recall browser rendering - #397
Conversation
Add browser opt-in (`renderer="browser"` and `renderer="rtichoke_viz"`) to `create_precision_recall_curve_times()`. Construct canonical `PrecisionRecallV2Spec` specifications from time-dependent performance data, preserving existing Plotly defaults and statistical calculations. Co-authored-by: uriahf <11351434+uriahf@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
|
Extend existing
PrecisionRecallV2consumer architecture to support time-dependent Precision-Recall curves.Summary of changes:
src/rtichoke/_viz_spec_v2.py:_precision_recall_times_v2_spec_from_performance_datato construct canonical v2 specs from time-dependent performance data.population_horizonprevalence reference lines using cutoff-0 AJ event-risk.src/rtichoke/discrimination/precision_recall.py:renderer: str = "plotly"tocreate_precision_recall_curve_times()."browser"and"rtichoke_viz"renderers. RaiseValueErrorfor"matplotlib".tests/test_time_precision_recall_v2.py:PR created automatically by Jules for task 15927789404890825170 started by @uriahf