Skip to content

accuracy_score function  #1269

Open
Open
@rsrenner

Description

@rsrenner

The accuracy_score function in learning4e.py could benefit from replacing the input argument to np.mean to be (y_pred==y_true). This is because np.equal does not seem to support string element comparisons.

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