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

CompareExplanations()'s settings. More...

#include <explanation_agreement.hpp>

Public Attributes

bool magnitudes = true
 Compare |attribution|, as XAI-3's checks do (a feature that counts against a class is still evidence); false compares the signed values.
 
double top_fraction = 0.1
 The top-k overlap's k, as a fraction of the features: max(1, round(fraction × n)).
 
int64_t permutations = 999
 Relabelings of the student's inputs for the permutation test; 0 skips it.
 
uint64_t seed = 0
 
CkaEstimator estimator = CkaEstimator::Debiased
 

Detailed Description

Member Data Documentation

◆ estimator

CkaEstimator pulsatrix::AgreementOptions::estimator = CkaEstimator::Debiased

◆ magnitudes

bool pulsatrix::AgreementOptions::magnitudes = true

Compare |attribution|, as XAI-3's checks do (a feature that counts against a class is still evidence); false compares the signed values.

◆ permutations

int64_t pulsatrix::AgreementOptions::permutations = 999

Relabelings of the student's inputs for the permutation test; 0 skips it.

◆ seed

uint64_t pulsatrix::AgreementOptions::seed = 0

◆ top_fraction

double pulsatrix::AgreementOptions::top_fraction = 0.1

The top-k overlap's k, as a fraction of the features: max(1, round(fraction × n)).


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