Tests for multi-overlap FLC.
This commit is contained in:
parent
1e97eb0694
commit
b4f288d7dd
@ -288,6 +288,8 @@ main = hspec $ do
|
|||||||
describe "FLC-F1" $ do
|
describe "FLC-F1" $ do
|
||||||
it "simple test" $ do
|
it "simple test" $ do
|
||||||
runGEvalTest "flc-f1-simple" `shouldReturnAlmost` 0.394231
|
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
|
describe "Probabilistic-Soft-F1" $ do
|
||||||
it "simple test" $ do
|
it "simple test" $ do
|
||||||
runGEvalTest "probabilistic-soft-f1-simple" `shouldReturnAlmost` 0.33333333333333
|
runGEvalTest "probabilistic-soft-f1-simple" `shouldReturnAlmost` 0.33333333333333
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
foo:1-10 foo:12-20
|
|
@ -0,0 +1 @@
|
|||||||
|
--metric FLC-F1
|
@ -0,0 +1 @@
|
|||||||
|
foo:5-15
|
|
Loading…
Reference in New Issue
Block a user