LoopyGibbsSampling.burnIn

LoopyGibbsSampling.burnIn()
Returns:

the number of steps of the chain done before the sampling: no stopping criterion is checked during the burn-in, and neither its steps nor its time are counted

Return type:

int

Example

import pyagrum as gum

bn = gum.fastBN("A->B<-C")
ie = gum.LoopyGibbsSampling(bn)
ie.burnIn()
# 300
ie.setBurnIn(1000)
ie.burnIn()
# 1000

Class

LoopyGibbsSampling