pulsatrix 1.1.0
Loading...
Searching...
No Matches
pulsatrix::SliceErrorViewOptions Struct Reference

RenderSliceErrorSvg()'s settings. More...

#include <performance_views.hpp>

Public Attributes

std::string metric = "error"
 What the error is, for the axis: "error rate", "miss rate", "squared error".
 
double reference = std::numeric_limits<double>::quiet_NaN()
 A value to draw as a reference line, such as conformal prediction's target miss rate alpha; NaN for none.
 
std::string reference_label = "target"
 The reference line's label.
 
int max_slices = 30
 Draws at most this many slices, the worst first, and counts the rest.
 

Detailed Description

Member Data Documentation

◆ max_slices

int pulsatrix::SliceErrorViewOptions::max_slices = 30

Draws at most this many slices, the worst first, and counts the rest.

◆ metric

std::string pulsatrix::SliceErrorViewOptions::metric = "error"

What the error is, for the axis: "error rate", "miss rate", "squared error".

◆ reference

double pulsatrix::SliceErrorViewOptions::reference = std::numeric_limits<double>::quiet_NaN()

A value to draw as a reference line, such as conformal prediction's target miss rate alpha; NaN for none.

◆ reference_label

std::string pulsatrix::SliceErrorViewOptions::reference_label = "target"

The reference line's label.


The documentation for this struct was generated from the following file: