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

[FIX] Fix and improve Precision, Recall, F1 #2369

Merged
merged 3 commits into from
Jun 2, 2017

Conversation

lanzagar
Copy link
Contributor

@lanzagar lanzagar commented Jun 2, 2017

Issue

Precision, Recall and F1 scores in Test & Score were showing incorrect results and not using the selected target class correctly.

Description of changes

Refactor scores by adding the TargetScore base class for Precision, Recall and F1. Call them correctly from the Test & Score widget.

Includes
  • Code changes
  • Tests
  • Documentation

@nikicc nikicc added this to the 3.4.3 milestone Jun 2, 2017
@codecov-io
Copy link

codecov-io commented Jun 2, 2017

Codecov Report

Merging #2369 into master will increase coverage by 0.02%.
The diff coverage is 53.12%.

@@            Coverage Diff             @@
##           master    #2369      +/-   ##
==========================================
+ Coverage   73.39%   73.41%   +0.02%     
==========================================
  Files         317      317              
  Lines       55619    55620       +1     
==========================================
+ Hits        40819    40833      +14     
+ Misses      14800    14787      -13

@markotoplak markotoplak self-assigned this Jun 2, 2017
@markotoplak markotoplak changed the title scoring: Fix and improve Precision, Recall, F1 and the Test & Score widget [FIX] Fix and improve Precision, Recall, F1 and the Test & Score widget Jun 2, 2017
@markotoplak markotoplak changed the title [FIX] Fix and improve Precision, Recall, F1 and the Test & Score widget [FIX] Fix and improve Precision, Recall, F1 Jun 2, 2017
@markotoplak markotoplak merged commit 2379b82 into biolab:master Jun 2, 2017
@lanzagar lanzagar deleted the targetscores branch March 14, 2022 14:41
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.

4 participants