LoopyWeightedSampling.targets

LoopyWeightedSampling.targets()
Returns:

the list of marginal targets

Return type:

list

Example

import pyagrum as gum

bn = gum.fastBN("A->B<-C")
ie = gum.LoopyWeightedSampling(bn)
sorted(ie.targets())  # all nodes by default
# [0, 1, 2]

Class

LoopyWeightedSampling