METRICS#

Functions#

utils.metrics.backward_transfer(results)[source]#

Calculates the backward transfer metric.

Parameters:

results (list) – A list of lists representing the results of all classes of all task.

Returns:

The mean backward transfer value.

Return type:

float

utils.metrics.forgetting(results)[source]#

Calculates the forgetting metric.

Parameters:

results (list) – A list of lists representing the results of all classes of all task.

Returns:

The mean forgetting value.

Return type:

float

utils.metrics.forward_transfer(results, random_results)[source]#

Calculates the forward transfer metric.

Parameters:
  • results (list) – A list of lists representing the results of all classes of all task.

  • random_results (list) – A list of results from a random baseline.

Returns:

The mean forward transfer value.

Return type:

float