LoopyGibbsSampling.periodSize
- LoopyGibbsSampling.periodSize()
- Returns:
the number of iterations between two checks of the stopping criteria (and between two values of
history())- Return type:
int
Example
import pyagrum as gum
bn = gum.fastBN("A->B<-C")
ie = gum.LoopyGibbsSampling(bn)
ie.periodSize()
# 100
ie.setPeriodSize(50)
ie.periodSize()
# 50
Class