Skip to content

precision and recall formuler wrong in your calculate #1

Description

@machanic

Precision = TP/(TP + FP)
recall = TP/(TP + FN)
confusion matrix is
cm = | TP FP |
| FN TN |
but in your code: https://github.com/l2ior/metrics/blob/master/func/auxs/cm2f1n.m#L25
and https://github.com/l2ior/metrics/blob/master/func/auxs/cm2f1f.m#L23
you have incorrect code here!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions