seismometer.plot.mpl.performance_metrics $el.setAttribute('data-tooltip', 'Copy link to this element'), 2000)" aria-label="Copy link to this element" class="headerlink" data-tooltip="Copy link to this element" href="#seismometer-plot-mpl-performance-metrics">¶
- seismometer.plot.mpl.performance_metrics(stats, *, conf=0.95, highlight=None, axis=None) $el.setAttribute('data-tooltip', 'Copy link to this element'), 2000)" aria-label="Copy link to this element" class="headerlink" data-tooltip="Copy link to this element" href="#seismometer.plot.mpl.performance_metrics" x-intersect.margin.0%.0%.-70%.0%="activeSection = '#seismometer.plot.mpl.performance_metrics'">¶
Single plot of sensitivity, specificity, and PPV.
- Parameters:
stats (pd.DataFrame) – The table of performance metrics of the form given by calculate_bin_stats.
conf (Number, optional) – The confidence level for the performance metric, by default 0.95.
highlight (Optional[list[Number]], optional) – A list of thresholds to highlight on the plot, by default None.
axis (Optional[plt.Axes], optional) – The matplotlib axis to draw, by default None; creates a new figure.
- Return type:
Figure