Skip to content

Commit

Permalink
[ issue #38 ] F-Measure (F1, F0.5 and F2)
Browse files Browse the repository at this point in the history
  • Loading branch information
agazzarini committed Sep 16, 2018
1 parent cc10d29 commit e6cde60
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public void _10_judgments_15_search_results_10_relevant_results_at_top() {
.forEach(hit -> cut.collect(hit, counter.incrementAndGet(), A_VERSION));

assertEquals(
0.8,
0.9095,
cut.valueFactory(A_VERSION).value().doubleValue(),
0.002);
}
Expand All @@ -78,7 +78,7 @@ public void _10_judgments_15_search_results_5_relevant_results() {
.forEach(hit -> cut.collect(hit, counter.incrementAndGet(), A_VERSION));

assertEquals(
0.4,
0.455,
cut.valueFactory(A_VERSION).value().doubleValue(),
0.002);
}
Expand Down Expand Up @@ -108,7 +108,7 @@ public void _10_judgments_15_search_results_5_relevant_results_in_the_middle() {
.forEach(hit -> cut.collect(hit, counter.incrementAndGet(), A_VERSION));

assertEquals(
0.4,
0.455,
cut.valueFactory(A_VERSION).value().doubleValue(),
0.002);
}
Expand Down

0 comments on commit e6cde60

Please sign in to comment.