Safe Haskell | None |
---|---|
Language | Haskell98 |
Accuracy statistics.
Stats
True positives, false positives, etc.
Configuration of accuracy computation.
AccCfg | |
|
:: (Word w, Ord x, Show x) | |
=> AccCfg x | |
-> [Sent w (Tag, x)] | Gold dataset |
-> [Sent w (Tag, x)] | Tagged dataset (to be compare with the gold) |
-> Stats |
Compute the accuracy of the model with respect to the labeled dataset.
To each Tag
an additional information x
can be assigned, which will be
taken into account when computing statistics.