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

MeasureLossRecovered()'s result: the model's loss three ways. More...

#include <featurizer_metrics.hpp>

Public Attributes

double clean = 0
 unchanged
 
double spliced = 0
 with the reconstructions spliced in
 
double ablated = 0
 with the position zeroed
 
double recovered = 0
 (ablated - spliced) / (ablated - clean): 1 when splicing costs nothing, 0 when it is as bad as deleting the position. NaN unless ablation raises the loss: then the position doesn't matter to the model, and there is nothing to recover. A randomly initialized model often gives NaN.
 

Detailed Description

MeasureLossRecovered()'s result: the model's loss three ways.

Member Data Documentation

◆ ablated

double pulsatrix::LossRecovered::ablated = 0

with the position zeroed

◆ clean

double pulsatrix::LossRecovered::clean = 0

unchanged

◆ recovered

double pulsatrix::LossRecovered::recovered = 0

(ablated - spliced) / (ablated - clean): 1 when splicing costs nothing, 0 when it is as bad as deleting the position. NaN unless ablation raises the loss: then the position doesn't matter to the model, and there is nothing to recover. A randomly initialized model often gives NaN.

◆ spliced

double pulsatrix::LossRecovered::spliced = 0

with the reconstructions spliced in


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