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

A calibrated conformal classifier. More...

#include <conformal.hpp>

Public Attributes

ConformalScore score = ConformalScore::Aps
 
double alpha = 0.1
 
bool randomized = false
 
uint64_t seed = 0
 
int64_t n = 0
 The calibration examples.
 
double quantile = 0.0
 The ⌈(n + 1)(1 − alpha)⌉-th smallest calibration score; +infinity when that rank is above n, and every set then holds every class.
 

Detailed Description

A calibrated conformal classifier.

Member Data Documentation

◆ alpha

double pulsatrix::ConformalClassifier::alpha = 0.1

◆ n

int64_t pulsatrix::ConformalClassifier::n = 0

The calibration examples.

◆ quantile

double pulsatrix::ConformalClassifier::quantile = 0.0

The ⌈(n + 1)(1 − alpha)⌉-th smallest calibration score; +infinity when that rank is above n, and every set then holds every class.

◆ randomized

bool pulsatrix::ConformalClassifier::randomized = false

◆ score

ConformalScore pulsatrix::ConformalClassifier::score = ConformalScore::Aps

◆ seed

uint64_t pulsatrix::ConformalClassifier::seed = 0

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