Tests for multi-overlap FLC.

This commit is contained in:
Lukasz Borchmann 2020-02-04 14:37:57 +01:00
parent 1e97eb0694
commit b4f288d7dd
4 changed files with 5 additions and 0 deletions

View File

@ -288,6 +288,8 @@ main = hspec $ do
describe "FLC-F1" $ do
it "simple test" $ do
runGEvalTest "flc-f1-simple" `shouldReturnAlmost` 0.394231
it "test with multi overlap" $ do
runGEvalTest "flc-f1-multi-overlap" `shouldReturnAlmost` 0.588364
describe "Probabilistic-Soft-F1" $ do
it "simple test" $ do
runGEvalTest "probabilistic-soft-f1-simple" `shouldReturnAlmost` 0.33333333333333

View File

@ -0,0 +1 @@
foo:1-10 foo:12-20
1 foo:1-10 foo:12-20

View File

@ -0,0 +1 @@
--metric FLC-F1

View File

@ -0,0 +1 @@
foo:5-15
1 foo:5-15