WeightedSampling.targets
- WeightedSampling.targets()
- Returns:
the list of marginal targets
- Return type:
list
Example
import pyagrum as gum
bn = gum.fastBN("A->B<-C")
ie = gum.WeightedSampling(bn)
sorted(ie.targets()) # all nodes by default
# [0, 1, 2]
Class
Overridden in