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

CompareExplanations()'s result. More...

#include <explanation_agreement.hpp>

Public Attributes

std::vector< InputAgreement > per_input
 
double spearman = 0.0
 The per-input values' means.
 
double top_k_overlap = 0.0
 
double cosine = 0.0
 
double cka = 0.0
 Linear CKA of the (inputs × features) matrices; NaN with too few inputs for the estimator (4 debiased, 2 biased) or when either set of maps doesn't vary.
 
double mismatched_spearman = 0.0
 The mean Spearman correlation between the student's map of one input and the teacher's map of another, over every ordered pair: the agreement that maps share whatever the input. NaN with one input.
 
double p_value = 0.0
 One-sided: the share of relabelings of the student's inputs, counting the real labeling, whose mean Spearman reaches spearman. NaN when skipped or with one input. Never below 1 / (permutations + 1).
 
int64_t permutations = 0
 
int64_t inputs = 0
 
int64_t features = 0
 
int64_t top_k = 0
 

Detailed Description

Member Data Documentation

◆ cka

double pulsatrix::AgreementReport::cka = 0.0

Linear CKA of the (inputs × features) matrices; NaN with too few inputs for the estimator (4 debiased, 2 biased) or when either set of maps doesn't vary.

◆ cosine

double pulsatrix::AgreementReport::cosine = 0.0

◆ features

int64_t pulsatrix::AgreementReport::features = 0

◆ inputs

int64_t pulsatrix::AgreementReport::inputs = 0

◆ mismatched_spearman

double pulsatrix::AgreementReport::mismatched_spearman = 0.0

The mean Spearman correlation between the student's map of one input and the teacher's map of another, over every ordered pair: the agreement that maps share whatever the input. NaN with one input.

◆ p_value

double pulsatrix::AgreementReport::p_value = 0.0

One-sided: the share of relabelings of the student's inputs, counting the real labeling, whose mean Spearman reaches spearman. NaN when skipped or with one input. Never below 1 / (permutations + 1).

◆ per_input

std::vector<InputAgreement> pulsatrix::AgreementReport::per_input

◆ permutations

int64_t pulsatrix::AgreementReport::permutations = 0

◆ spearman

double pulsatrix::AgreementReport::spearman = 0.0

The per-input values' means.

◆ top_k

int64_t pulsatrix::AgreementReport::top_k = 0

◆ top_k_overlap

double pulsatrix::AgreementReport::top_k_overlap = 0.0

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