Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add micros/macro average F1 to TestDiscrete #45

Open
danyaljj opened this issue Mar 27, 2016 · 0 comments
Open

Add micros/macro average F1 to TestDiscrete #45

danyaljj opened this issue Mar 27, 2016 · 0 comments

Comments

@danyaljj
Copy link
Member

Whenever we use TestDiscrete it prints something like this:

[info]  Label   Precision Recall    F1   LCount PCount
[info] -----------------------------------------------
[info] false       96.874 100.000 98.412  61178  63152
[info] true       100.000   0.804  1.595   1990     16
[info] -----------------------------------------------
[info] Accuracy    96.875    -      -      -     63168

I am suggesting to add micro averaged scores (simply averaging F1, Precision, etc for each label) and macro averaged scores (which are calculated across all labels). This would save some time later.

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

No branches or pull requests

1 participant