Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data State
- type StateSet = Enumeration State
- stateSet :: StateSet
- type HMM = Gaussian () StateSet Double
- hmm :: HMM
- stateVector :: Double -> Double -> Double -> Double -> Vector StateSet Double
- sineWaveLabeled :: T [] (State, Double)
- sineWave :: T [] Double
- revealed :: T [] State
- hmmTrainedSupervised :: HMM
- hmmTrainedUnsupervised :: HMM
- hmmIterativelyTrained :: HMM
Documentation
>>>
import qualified Data.NonEmpty as NonEmpty
type StateSet = Enumeration State Source #
sineWaveLabeled :: T [] (State, Double) Source #
>>>
take 20 $ map fst $ NonEmpty.flatten sineWaveLabeled
[Rising,Rising,High,High,High,Falling,Falling,Falling,Low,Low,Low,Rising,Rising,Rising,Rising,High,High,High,Falling,Falling]