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

A probe on the real task beside the same probe on the control task. More...

#include <probe_controls.hpp>

Collaboration diagram for pulsatrix::ProbeSelectivity:

Public Attributes

ProbeResult task
 
ProbeResult control
 
double selectivity = 0
 task.accuracy - control.accuracy, Hewitt and Liang's selectivity.
 
double balanced_selectivity = 0
 The same with balanced accuracy, for imbalanced labels.
 
int64_t train_types = 0
 How many token types the training rows hold. Few types make the control easy to learn; with no more types than dimensions a linear probe can learn any control.
 

Detailed Description

A probe on the real task beside the same probe on the control task.

Member Data Documentation

◆ balanced_selectivity

double pulsatrix::ProbeSelectivity::balanced_selectivity = 0

The same with balanced accuracy, for imbalanced labels.

◆ control

ProbeResult pulsatrix::ProbeSelectivity::control

◆ selectivity

double pulsatrix::ProbeSelectivity::selectivity = 0

task.accuracy - control.accuracy, Hewitt and Liang's selectivity.

◆ task

ProbeResult pulsatrix::ProbeSelectivity::task

◆ train_types

int64_t pulsatrix::ProbeSelectivity::train_types = 0

How many token types the training rows hold. Few types make the control easy to learn; with no more types than dimensions a linear probe can learn any control.


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