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

A concept activation vector. More...

#include <tcav.hpp>

Public Attributes

std::vector< double > direction
 A unit vector in the layer's activation space, pointing towards the concept.
 
double accuracy = 0
 How well the direction's linear classifier separates concept from random examples that it wasn't fitted on (see CavOptions::holdout_every). Near 0.5, the layer doesn't separate them and the direction means nothing.
 

Detailed Description

A concept activation vector.

Member Data Documentation

◆ accuracy

double pulsatrix::Cav::accuracy = 0

How well the direction's linear classifier separates concept from random examples that it wasn't fitted on (see CavOptions::holdout_every). Near 0.5, the layer doesn't separate them and the direction means nothing.

◆ direction

std::vector<double> pulsatrix::Cav::direction

A unit vector in the layer's activation space, pointing towards the concept.


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