Skip to content

Wrongly reporting mean class accuracy #7

Open
@Nanne

Description

@Nanne

In the CNN demo's (cifar, housenumbers, and digit-classifier) the performance is reported in the form of the mean class accuracy. However this is done using confusion.totalValid, which is the total accuracy, not the mean class accuracy. The mean class accuracy can be found in confusion.averageValid.

totalValid is the sum of the diagonal of the confusion matrix divided by the sum of the matrix. averageValid is the average of all diagonals divided by their respective rows.

Is the intention to report the accuracy and is the text wrong or is the wrong variable used? My guess would be the latter.

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