Skip to content

forgetting metric error ? #1

@rolsheng

Description

@rolsheng

your code is :

if task_id > 0:
  forgetting = np.mean((np.max(acc_matrix, axis=1) -
                        acc_matrix[:, task_id])[:task_id])
 backward = np.mean((acc_matrix[:, task_id] - diagonal)[:task_id])

Maybe, I think the correct code for forgetting metric, which is lower the better.
forgetting = np.mean((diagonal - acc_matrix[:, task_id])[:task_id]))

Looking forward for your reply.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions