WeightedSampling.messageApproximationScheme

WeightedSampling.messageApproximationScheme()
Returns:

the approximation scheme message

Return type:

str

Example

import pyagrum as gum

bn = gum.fastBN("A->B<-C")
ie = gum.WeightedSampling(bn)
ie.messageApproximationScheme()
# 'undefined state'
ie.setEpsilon(1e-10)
ie.setMaxIter(1000)
ie.makeInference()
ie.messageApproximationScheme()
# 'stopped with max iteration=1000'

Class

WeightedSampling

Overridden in

LoopyWeightedSampling.messageApproximationScheme