MonteCarloSampling.periodSize
- MonteCarloSampling.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.MonteCarloSampling(bn)
ie.periodSize() # samples between two checks of the stopping criteria
# 100
Class
Overridden in