Safe Haskell | None |
---|

- newtype Ob = Ob {}
- newtype Lb = Lb {}
- data X
- mkX :: [Ob] -> [Lb] -> X
- unX :: X -> [Ob]
- unR :: AVec Lb -> X -> [Lb]
- type Xs = Vector X
- newtype Y = Y {}
- mkY :: [(Lb, Double)] -> Y
- unY :: Y -> [(Lb, Double)]
- type Ys = Vector Y
- data AVec a
- fromList :: (Ord a, Unbox a) => [a] -> AVec a
- fromSet :: (Ord a, Unbox a) => Set a -> AVec a

# Documentation

An observation.

A label.

A word represented by a list of its observations and a list of its potential label interpretations.

Ascending vector of unique interger elements.