Interface BayesIm

All Superinterfaces:
Im, Serializable, Simulator, TetradSerializable, VariableSource
All Known Implementing Classes:
DirichletBayesIm, MlBayesIm, MlBayesImObs, UpdatedBayesIm

public interface BayesIm extends VariableSource, Im, Simulator
Interface implemented by Bayes instantiated models. For purposes of clarification, we distinguish a Bayes parametric model from a Bayes instantiated model. The former provides enough information for us to know what the parameters of the Bayes net are, given that we know the graph of the Bayes net--i.e., it tells us how many categories each variable has and what the names of those categories are. It does not, however, tell us what the value of each parameter is; information about the value of each parameter in the Bayes net is provided in the Bayes instantiated model. This information is organized, variable by variable, in conditional probability tables. For each variable, a table is stored representing enough information to recover the conditional probability of each value of each variable given each combination of values of the parents of the variable in the graph. The rows of the table are the combinations of parent values of the variable, and the columns of the table are variable values of the variable. Most of the method in this interface are designed mainly to allow these values to be set and retrieved. A few methods are dedicated to bookkeeping chores, like clearing tables or initializing them randomly. One special method (simulateData) is dedicated to the task of generating randomly simulated data sets consistent with the conditional probabilities implied by the information stored in the conditional probability tables of the Bayes net. See implementations for details.
Version:
$Id: $Id
Author:
josephramsey
See Also: