LoopyWeightedSampling.disableMaxIter

LoopyWeightedSampling.disableMaxIter()

Disable max iterations as a stopping criterion.

Return type:

None

Example

import pyagrum as gum

bn = gum.fastBN("A->B<-C")
ie = gum.LoopyWeightedSampling(bn)
ie.isEnabledMaxIter()
# True
ie.disableMaxIter()
ie.isEnabledMaxIter()
# False

Class

LoopyWeightedSampling