Functions from pyagrum

Useful functions in pyAgrum

getPosterior()

Compute the posterior of a single target (variable) in a BN given evidence

mutilateBN()

Modify the bayesian network bn to reflect the effect of interventions and/or observations on a set of variables.

Input/Output for Bayesian networks

availableBNExts()

Give the list of all formats known by pyAgrum to save a Bayesian network.

loadBN()

load a BN from a file with optional listeners and arguments

saveBN()

save a BN into a file using the format corresponding to one of the pyagrum.availableBNExts suffixes.

Input/Output for Markov random fields

availableMRFExts()

Give the list of all formats known by pyAgrum to save a Markov random field.

loadMRF()

load a MRF from a file with optional listeners and arguments

saveMRF()

save a MRF into a file using the format corresponding to one of the pyagrum.availableMRFExts suffixes.

Input for influence diagram

availableIDExts()

Give the list of all formats known by pyAgrum to save a influence diagram.

loadID()

read a pyagrum.InfluenceDiagram from a ID file

saveID()

save an ID into a file using the format corresponding to one of the pyagrum.availableIDExts suffixes.