Skip to content

Undefined variable #16

@filipchristiansen

Description

@filipchristiansen

def get_accuracy(probs, labels):
return sum(labels == predictions) * 1.0 / len(labels)

The variable predictions is not defined and probs is not used.

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