Safe Haskell | None |
---|---|
Language | Haskell98 |
- data Feat
- obFeats :: Ob -> Cb -> [Feat]
- trFeats1 :: Cb -> [Feat]
- trFeats2 :: Cb -> Cb -> [Feat]
- trFeats3 :: Cb -> Cb -> Cb -> [Feat]
- presentFeats :: Xs -> Ys -> [(Feat, LogFloat)]
- hiddenFeats :: Xs -> [Feat]
- obFeatsOn :: Xs -> Int -> CbIx -> [Feat]
- trFeatsOn :: Xs -> Int -> CbIx -> CbIx -> CbIx -> [Feat]
- type FeatSel = Xs -> Ys -> [Feat]
- selectPresent :: FeatSel
- selectHidden :: FeatSel
Feature
Feature; every feature is associated to a layer with ln
identifier.
Feature generation
Feature extraction
presentFeats :: Xs -> Ys -> [(Feat, LogFloat)] Source
Features present in the dataset element together with corresponding occurence probabilities.
hiddenFeats :: Xs -> [Feat] Source
Features hidden in the dataset element.
obFeatsOn :: Xs -> Int -> CbIx -> [Feat] Source
Observation features on a given position and with respect to a given label (determined by idenex).
trFeatsOn :: Xs -> Int -> CbIx -> CbIx -> CbIx -> [Feat] Source
Transition features on a given position and with respect to a given labels (determined by indexes).
Feature selection
selectPresent :: FeatSel Source
The presentFeats
adapted to fit feature selection specs.
selectHidden :: FeatSel Source
The hiddenFeats
adapted to fit feature selection specs.