Safe Haskell | None |
---|---|
Language | Haskell2010 |
A few general definitions for Graphical Models.
Synopsis
- type family Observation f
- type Observations f = [Observation f]
- class ObservablyContinuous c f where
- logObservableDensities :: (c # f) -> Observations f -> [Double]
- observableDensities :: (c # f) -> Observations f -> [Double]
- logObservableDensity :: ObservablyContinuous c f => (c # f) -> Observation f -> Double
- observableDensity :: ObservablyContinuous c f => (c # f) -> Observation f -> Double
Documentation
type family Observation f Source #
An observation from a latent variable model.
Instances
type Observation (FactorAnalysis n k) Source # | |
type Observation (AffineHarmonium f y x z w) Source # | |
Defined in Goal.Graphical.Models.Harmonium | |
type Observation (LatentProcess f g y x z w) Source # | |
Defined in Goal.Graphical.Models.Dynamic |
type Observations f = [Observation f] Source #
A list of observations.
Hierarchical Models
class ObservablyContinuous c f where Source #
Probability densities over observations in a latent variable model.
Nothing
logObservableDensities :: (c # f) -> Observations f -> [Double] Source #
observableDensities :: (c # f) -> Observations f -> [Double] Source #
Instances
(ConjugatedLikelihood f y x z w, LegendreExponentialFamily z, ExponentialFamily y, LegendreExponentialFamily w, Map Natural f x y, Bilinear f x y) => ObservablyContinuous Natural (AffineHarmonium f y x z w) Source # | |
Defined in Goal.Graphical.Models.Harmonium logObservableDensities :: (Natural # AffineHarmonium f y x z w) -> Observations (AffineHarmonium f y x z w) -> [Double] Source # observableDensities :: (Natural # AffineHarmonium f y x z w) -> Observations (AffineHarmonium f y x z w) -> [Double] Source # | |
(ConjugatedLikelihood g x x w w, Bilinear g x x, ConjugatedLikelihood f y x z w, Bilinear f y x, Map Natural g x x, Map Natural f x y, ExponentialFamily y, LegendreExponentialFamily z, LegendreExponentialFamily w) => ObservablyContinuous Natural (LatentProcess f g y x z w) Source # | |
Defined in Goal.Graphical.Models.Dynamic logObservableDensities :: (Natural # LatentProcess f g y x z w) -> Observations (LatentProcess f g y x z w) -> [Double] Source # observableDensities :: (Natural # LatentProcess f g y x z w) -> Observations (LatentProcess f g y x z w) -> [Double] Source # |
logObservableDensity :: ObservablyContinuous c f => (c # f) -> Observation f -> Double Source #
observableDensity :: ObservablyContinuous c f => (c # f) -> Observation f -> Double Source #