hbayes-0.5.2: Bayesian Networks

Safe HaskellNone
LanguageHaskell2010

Bayes.EM

Contents

Description

Expectation / Maximization to learn Bayesian network values

Synopsis

Learning function

learnEM Source

Arguments

:: (FunctorWithVertex g, NamedGraph g, FoldableWithVertex g, DirectedGraph g) 
=> [[DVI]]

Samples

-> BayesianNetwork g CPT

Start network

-> BayesianNetwork g CPT

Network with new values learnt from the samples

Learn network values from samples using the expectation / maximization algorithm.