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

CalibrateConformalClassifier()'s settings. More...

#include <conformal.hpp>

Public Attributes

double alpha = 0.1
 The miscoverage: sets miss the true class with probability at most alpha.
 
ConformalScore score = ConformalScore::Aps
 
bool randomized = false
 APS only: subtract u p(class) from each score, u uniform in [0, 1) and drawn once per example, as Romano et al. do, for coverage close to exactly 1 − alpha; the seed for u. Without it APS over-covers a little, since its score jumps by a whole class's probability.
 
uint64_t seed = 0
 

Detailed Description

Member Data Documentation

◆ alpha

double pulsatrix::ConformalOptions::alpha = 0.1

The miscoverage: sets miss the true class with probability at most alpha.

◆ randomized

bool pulsatrix::ConformalOptions::randomized = false

APS only: subtract u p(class) from each score, u uniform in [0, 1) and drawn once per example, as Romano et al. do, for coverage close to exactly 1 − alpha; the seed for u. Without it APS over-covers a little, since its score jumps by a whole class's probability.

◆ score

ConformalScore pulsatrix::ConformalOptions::score = ConformalScore::Aps

◆ seed

uint64_t pulsatrix::ConformalOptions::seed = 0

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