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

FeatureAbsorption()'s result, on the held-out inputs. More...

#include <featurizer_metrics.hpp>

Public Attributes

int64_t test_inputs = 0
 
int64_t positives = 0
 
double probe_f1 = 0
 The baseline: a logistic probe on the raw activations.
 
std::vector< int64_t > main_features
 The features that stand for the concept, and their F1 when any one firing predicts it.
 
double main_f1 = 0
 
int64_t probe_hits = 0
 Positives the probe finds.
 
int64_t missed = 0
 Of those, the ones on which no main feature fires.
 
int64_t absorbed = 0
 Of those, the ones that other features, aligned with the probe, carry instead.
 
double miss_rate = 0
 missed / probe_hits
 
double absorption_rate = 0
 absorbed / probe_hits
 
std::vector< std::pair< int64_t, int64_t > > absorbing_features
 The absorbing features and on how many inputs each absorbed the concept, most first.
 

Detailed Description

FeatureAbsorption()'s result, on the held-out inputs.

Member Data Documentation

◆ absorbed

int64_t pulsatrix::AbsorptionResult::absorbed = 0

Of those, the ones that other features, aligned with the probe, carry instead.

◆ absorbing_features

std::vector<std::pair<int64_t, int64_t> > pulsatrix::AbsorptionResult::absorbing_features

The absorbing features and on how many inputs each absorbed the concept, most first.

◆ absorption_rate

double pulsatrix::AbsorptionResult::absorption_rate = 0

absorbed / probe_hits

◆ main_f1

double pulsatrix::AbsorptionResult::main_f1 = 0

◆ main_features

std::vector<int64_t> pulsatrix::AbsorptionResult::main_features

The features that stand for the concept, and their F1 when any one firing predicts it.

◆ miss_rate

double pulsatrix::AbsorptionResult::miss_rate = 0

missed / probe_hits

◆ missed

int64_t pulsatrix::AbsorptionResult::missed = 0

Of those, the ones on which no main feature fires.

◆ positives

int64_t pulsatrix::AbsorptionResult::positives = 0

◆ probe_f1

double pulsatrix::AbsorptionResult::probe_f1 = 0

The baseline: a logistic probe on the raw activations.

◆ probe_hits

int64_t pulsatrix::AbsorptionResult::probe_hits = 0

Positives the probe finds.

◆ test_inputs

int64_t pulsatrix::AbsorptionResult::test_inputs = 0

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