hmm-lapack-0.4: Hidden Markov Models using LAPACK primitives

Safe HaskellNone
LanguageHaskell2010

Math.HiddenMarkovModel.Named

Synopsis

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.

Constructors

Cons 

Fields

Instances
(C sh, Storable prob, Show typ, Show sh, Show prob, Show ix) => Show (T typ sh ix prob) Source # 
Instance details

Defined in Math.HiddenMarkovModel.Named

Methods

showsPrec :: Int -> T typ sh ix prob -> ShowS #

show :: T typ sh ix prob -> String #

showList :: [T typ sh ix prob] -> ShowS #

(NFData typ, NFData sh, NFData ix, NFData prob, C sh, Storable prob) => NFData (T typ sh ix prob) Source # 
Instance details

Defined in Math.HiddenMarkovModel.Named

Methods

rnf :: T typ sh ix prob -> () #

type Discrete symbol stateSh prob = Simple (Discrete symbol) stateSh prob Source #

type Gaussian emiSh stateSh a = Simple (Gaussian emiSh) stateSh a Source #

fromModelAndNames :: Indexed sh => T typ sh prob -> [String] -> Simple typ sh prob Source #

toCSV :: (ToCSV typ, Indexed sh, Real prob, Show prob) => Simple typ sh prob -> String Source #

fromCSV :: (FromCSV typ, Indexed stateSh, Eq stateSh, Real prob, Read prob) => (Int -> stateSh) -> String -> Exceptional String (Simple typ stateSh prob) Source #