LoopyBeliefPropagation.setVerbosity
- LoopyBeliefPropagation.setVerbosity(v)
- Parameters:
v (
bool) – if True, the error at the start of each period is recorded (seehistory())- Return type:
None
Example
import pyagrum as gum
bn = gum.fastBN("A->B<-C")
ie = gum.LoopyBeliefPropagation(bn)
ie.verbosity()
# False
ie.setVerbosity(True)
ie.verbosity()
# True
Class