Safe Haskell | None |
---|---|
Language | Haskell98 |
Feature
Feature; every feature is associated to a layer with ln
identifier.
TFeat3 | Second-order transition feature. |
TFeat2 | First-order transition feature. |
TFeat1 | Zero-order transition feature. |
OFeat | Observation feature. |
Feature extraction
presentFeats :: Xs -> Ys -> [(Feat, LogFloat)] Source #
Features present in the dataset element together with corresponding occurence probabilities.
obFeatsOn :: Xs -> Int -> CbIx -> [Feat] Source #
Observation features on a given position and with respect to a given label (determined by index).
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.