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

One slice's error. More...

#include <performance.hpp>

Public Attributes

std::string name
 
int64_t count = 0
 
double error = 0.0
 The slice's mean error: its error rate when the errors are 0 or 1.
 
double lower = 0.0
 An interval for it at level 1 - alpha: Wilson's score interval for 0/1 errors, the normal approximation mean +- z s / sqrt(n) otherwise.
 
double upper = 0.0
 
double rest_error = 0.0
 The mean error of every input outside the slice.
 
double p_value = 1.0
 One-sided: how likely an error this much above the rest's is if slice membership doesn't matter. 1 when the slice is the whole dataset.
 
bool worse = false
 p_value <= alpha / (number of slices).
 

Detailed Description

One slice's error.

Member Data Documentation

◆ count

int64_t pulsatrix::SliceError::count = 0

◆ error

double pulsatrix::SliceError::error = 0.0

The slice's mean error: its error rate when the errors are 0 or 1.

◆ lower

double pulsatrix::SliceError::lower = 0.0

An interval for it at level 1 - alpha: Wilson's score interval for 0/1 errors, the normal approximation mean +- z s / sqrt(n) otherwise.

◆ name

std::string pulsatrix::SliceError::name

◆ p_value

double pulsatrix::SliceError::p_value = 1.0

One-sided: how likely an error this much above the rest's is if slice membership doesn't matter. 1 when the slice is the whole dataset.

◆ rest_error

double pulsatrix::SliceError::rest_error = 0.0

The mean error of every input outside the slice.

◆ upper

double pulsatrix::SliceError::upper = 0.0

◆ worse

bool pulsatrix::SliceError::worse = false

p_value <= alpha / (number of slices).


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