Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data T typ sh ix prob = Cons {
- model :: T typ sh prob
- nameFromStateMap :: Array sh String
- stateFromNameMap :: Map String ix
- type Discrete symbol stateSh prob = Simple (Discrete symbol) stateSh prob
- type Gaussian emiSh stateSh a = Simple (Gaussian emiSh) stateSh a
- fromModelAndNames :: Indexed sh => T typ sh prob -> [String] -> Simple typ sh prob
- toCSV :: (ToCSV typ, Indexed sh, Real prob, Show prob) => Simple typ sh prob -> String
- fromCSV :: (FromCSV typ, Indexed stateSh, Eq stateSh, Real prob, Read prob) => (Int -> stateSh) -> String -> Exceptional String (Simple typ stateSh prob)
Documentation
data T typ sh ix prob Source #
A Hidden Markov Model with names for each state.
Although nameFromStateMap
and stateFromNameMap
are exported
you must be careful to keep them consistent when you alter them.
Cons | |
|