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

How often the sets or intervals held the truth, and how large they were. More...

#include <conformal.hpp>

Public Attributes

int64_t n = 0
 
double coverage = 0.0
 The fraction that held the truth; compare with 1 − alpha.
 
double mean_size = 0.0
 The mean set size, or the mean interval width.
 
int64_t empty = 0
 Classification only: how many sets were empty.
 
std::vector< int64_t > size_counts
 Classification only: size_counts[s] sets had s classes, and coverage_by_size[s] of them held the truth (0 where there were none). Undercoverage of the large sets is a sign the score doesn't adapt to hard inputs.
 
std::vector< double > coverage_by_size
 
std::vector< double > misses
 Per input: 1 where the truth was missed, 0 where it was held; PerSliceError() on it tests each slice's coverage.
 

Detailed Description

How often the sets or intervals held the truth, and how large they were.

Member Data Documentation

◆ coverage

double pulsatrix::CoverageReport::coverage = 0.0

The fraction that held the truth; compare with 1 − alpha.

◆ coverage_by_size

std::vector<double> pulsatrix::CoverageReport::coverage_by_size

◆ empty

int64_t pulsatrix::CoverageReport::empty = 0

Classification only: how many sets were empty.

◆ mean_size

double pulsatrix::CoverageReport::mean_size = 0.0

The mean set size, or the mean interval width.

◆ misses

std::vector<double> pulsatrix::CoverageReport::misses

Per input: 1 where the truth was missed, 0 where it was held; PerSliceError() on it tests each slice's coverage.

◆ n

int64_t pulsatrix::CoverageReport::n = 0

◆ size_counts

std::vector<int64_t> pulsatrix::CoverageReport::size_counts

Classification only: size_counts[s] sets had s classes, and coverage_by_size[s] of them held the truth (0 where there were none). Undercoverage of the large sets is a sign the score doesn't adapt to hard inputs.


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