|
pulsatrix 1.1.0
|
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. | |
MeasureLossRecovered()'s result: the model's loss three ways.
| double pulsatrix::LossRecovered::ablated = 0 |
with the position zeroed
| double pulsatrix::LossRecovered::clean = 0 |
unchanged
| 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.
| double pulsatrix::LossRecovered::spliced = 0 |
with the reconstructions spliced in