hbayes-0.5: Bayesian Networks

Safe HaskellSafe-Infered

Bayes.EM

Contents

Description

Expectation / Maximization to learn Bayesian network values

Synopsis

Learning function

learnEMSource

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.