Skip to content

Find Average Recall and Precision.#473

Open
AtriSaxena wants to merge 1 commit intoamdegroot:masterfrom
AtriSaxena:patch-1
Open

Find Average Recall and Precision.#473
AtriSaxena wants to merge 1 commit intoamdegroot:masterfrom
AtriSaxena:patch-1

Conversation

@AtriSaxena
Copy link
Copy Markdown

As many people looking to find the Average Recall and Precision like in issue #352 It's better we should add this in evaluation code.

As many people looking to find the Average Recall and Precision like in issue amdegroot#352 It's better we should add this in evaluation code.
@ghost
Copy link
Copy Markdown

ghost commented Jul 15, 2020

Maybe my understanding is wrong, but I think it should be like this:

    ...
    recs = []
    precs = []
    ...
        ...
        recs += [rec] 
        precs += [prec]
        ...
    ...
    print('Average Recall = {:.4f}'.format(np.mean(recs)))
    print('Average Precision = {:.4f}'.format(np.mean(precs)))
    ...

What do you think?

@AtriSaxena
Copy link
Copy Markdown
Author

Yes. I also did the same changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant