| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
NLP.Concraft.DAG.Morphosyntax.Accuracy
Contents
Description
Accuracy statistics.
Stats
True positives, false positives, etc.
Constructors
| Stats | |
Configuration of accuracy computation.
Constructors
| AccCfg | |
Fields
| |
Arguments
| :: (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.