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

A prompt-deletion curve against its random baseline. More...

#include <masked_diffusion_lrp.hpp>

Public Attributes

std::vector< float > fractions
 Fractions of the prompt deleted: 0, 1/steps, ..., 1.
 
std::vector< float > scores
 The explained value after deleting that share, most relevant first.
 
std::vector< float > random_scores
 The same in random orders (their mean).
 
float sign = 1.0f
 The sign of the undeleted value.
 
double auc = 0
 Trapezoid areas under each curve times sign; a faithful explanation removes the value faster: auc < random_auc.
 
double random_auc = 0
 

Detailed Description

A prompt-deletion curve against its random baseline.

Member Data Documentation

◆ auc

double pulsatrix::CommitmentDeletionCurve::auc = 0

Trapezoid areas under each curve times sign; a faithful explanation removes the value faster: auc < random_auc.

◆ fractions

std::vector<float> pulsatrix::CommitmentDeletionCurve::fractions

Fractions of the prompt deleted: 0, 1/steps, ..., 1.

◆ random_auc

double pulsatrix::CommitmentDeletionCurve::random_auc = 0

◆ random_scores

std::vector<float> pulsatrix::CommitmentDeletionCurve::random_scores

The same in random orders (their mean).

◆ scores

std::vector<float> pulsatrix::CommitmentDeletionCurve::scores

The explained value after deleting that share, most relevant first.

◆ sign

float pulsatrix::CommitmentDeletionCurve::sign = 1.0f

The sign of the undeleted value.


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