- class avalanche.evaluation.metrics.Forgetting[source]
The standalone Forgetting metric. This metric returns the forgetting relative to a specific key. Alternatively, this metric returns a dict in which each key is associated to the forgetting. Forgetting is computed as the difference between the first value recorded for a specific key and the last value recorded for that key. The value associated to a key can be update with the update method.
At initialization, this metric returns an empty dictionary.
Creates an instance of the standalone Forgetting metric
Resets the metric internal state.
Forgetting is returned only for keys encountered twice.
update(k, v[, initial])
The initial value for each key.
The last value detected for each key