Uses of Interface
edu.cmu.tetrad.bayes.BayesIm
Packages that use BayesIm
Package
Description
Contains some utility classes for search algorithms.
-
Uses of BayesIm in edu.cmu.tetrad.algcomparison.simulation
Methods in edu.cmu.tetrad.algcomparison.simulation that return types with arguments of type BayesImModifier and TypeMethodDescriptionBayesNetSimulation.getBayesIms()
Returns the list of Bayes IMs.Constructors in edu.cmu.tetrad.algcomparison.simulation with parameters of type BayesImModifierConstructorDescriptionConstructs a new BayesNetSimulation. -
Uses of BayesIm in edu.cmu.tetrad.bayes
Classes in edu.cmu.tetrad.bayes that implement BayesImModifier and TypeClassDescriptionfinal class
Stores Dirichlet pseudocounts for the distributions of each variable conditional on particular combinations of its parent values and, together with Bayes Pm and Dag, provides methods to manipulate these tables.final class
Stores a table of probabilities for a Bayes net and, together with BayesPm and Dag, provides methods to manipulate this table.final class
Stores a table of probabilities for a Bayes net and, together with BayesPm and Dag, provides methods to manipulate this table.final class
Represents a Bayes IM in which all of the conditional probability tables have been updated to take into account evidence.Methods in edu.cmu.tetrad.bayes that return BayesImModifier and TypeMethodDescriptionestimate.Estimates parameters of the given Bayes net from the given data using maximum likelihood method.33 Estimates a Bayes IM using the variables, graph, and parameters in the given Bayes PM and the data columns in the given data set.ApproximateUpdater.getBayesIm()
Getter for the fieldbayesIm
.BayesUpdater.getBayesIm()
Returns the evidence for the updater.BayesXmlParser.getBayesIm
(nu.xom.Element element) Returns the BayesIm object represented by the given element.CptInvariantUpdater.getBayesIm()
Getter for the fieldbayesIm
.Identifiability.getBayesIm()
The BayesIm that this updater bases its update on.JunctionTreeUpdater.getBayesIm()
Returns the evidence for the updater.RowSummingExactUpdater.getBayesIm()
The BayesIm that this updater bases its update on.MlBayesImObs.getBayesImObs()
Getter for the fieldbayesImObs
.EmBayesEstimator.getEstimatedIm()
Getter for the fieldestimatedIm
.ApproximateUpdater.getManipulatedBayesIm()
Getter for the fieldmanipulatedBayesIm
.CptInvariantUpdater.getManipulatedBayesIm()
Getter for the fieldmanipulatedBayesIm
.Identifiability.getManipulatedBayesIm()
Getter for the fieldmanipulatedBayesIm
.JunctionTreeUpdater.getManipulatedBayesIm()
Returns the manipulated Bayes IM.ManipulatingBayesUpdater.getManipulatedBayesIm()
Returns the manipulated Bayes IM.RowSummingExactUpdater.getManipulatedBayesIm()
Getter for the fieldmanipulatedBayesIm
.ApproximateUpdater.getUpdatedBayesIm()
getUpdatedBayesIm.CptInvariantUpdater.getUpdatedBayesIm()
Getter for the fieldupdatedBayesIm
.Identifiability.getUpdatedBayesIm()
The updated BayesIm.JunctionTreeUpdater.getUpdatedBayesIm()
Returns the updated Bayes IM.ManipulatingBayesUpdater.getUpdatedBayesIm()
Returns the updated Bayes IM.RowSummingExactUpdater.getUpdatedBayesIm()
The updated BayesIm.FactoredBayesStructuralEM.iterate()
This iterate2 method also uses BdeMetricCache but it uses the factorScoreMD method which can handle missing data and latent variables.static BayesIm
BayesBifParser.makeBayesIm
(String text) Parses a string in BayesBif format and converts it into a BayesIm object.EmBayesEstimator.maximization
(double threshhold) This method iteratively estimates the parameters of the Bayes net using the dataset until the parameters don't change.FactoredBayesStructuralEM.maximization
(double tolerance) This method allows specification of the tolerance parameter used in Bayes EM estimation.Methods in edu.cmu.tetrad.bayes with parameters of type BayesImModifier and TypeMethodDescriptionstatic StoredCellProbs
StoredCellProbs.createCellTable
(BayesIm bayesIm) createCellTable.int
BayesIm.getCorrespondingNodeIndex
(int nodeIndex, BayesIm otherBayesIm) Returns the index of the given node in the given BayesIm.int
DirichletBayesIm.getCorrespondingNodeIndex
(int nodeIndex, BayesIm otherBayesIm) Returns the index of the given node in the given BayesIm.int
MlBayesIm.getCorrespondingNodeIndex
(int nodeIndex, BayesIm otherBayesIm) Returns the corresponding node index in the given BayesIm based on the node index in this BayesIm.int
MlBayesImObs.getCorrespondingNodeIndex
(int nodeIndex, BayesIm otherBayesIm) Returns the index of the given node in the given BayesIm.int
UpdatedBayesIm.getCorrespondingNodeIndex
(int nodeIndex, BayesIm otherBayesIm) Returns the index of the given node in the given BayesIm.static nu.xom.Element
BayesXmlRenderer.getElement
(BayesIm bayesIm) Private constructor to prevent instantiation.double[][]
BdeMetricCache.getObservedCounts
(Node node, BayesPm bayesPm, BayesIm bayesIm) This method is used in testing and debugging and not in the BDe metric calculations.static String
Renders the given BayesIm object as a Bayesian network in the BIF (Bayesian Interchange Format) format.double
Computes the BDe score, using the logarithm of the gamma function, relative to the data, of the factor determined by a node and its parents.Constructors in edu.cmu.tetrad.bayes with parameters of type BayesImModifierConstructorDescriptionApproximateUpdater
(BayesIm bayesIm) Constructs a new updater for the given Bayes net.ApproximateUpdater
(BayesIm bayesIm, Evidence evidence) Constructs a new updater for the given Bayes net.BayesImProbs
(BayesIm bayesIm) Constructs a BayesImProbs object from the given BayesIm.CptInvariantMarginalCalculator
(BayesIm bayesIm, Evidence evidence) Constructs a new marginal calculator for the given updated Bayes IM.CptInvariantUpdater
(BayesIm bayesIm) Constructor for CptInvariantUpdater.CptInvariantUpdater
(BayesIm bayesIm, Evidence evidence) Constructs a new updater for the given Bayes net.EmBayesEstimator
(BayesIm inputBayesIm, DataSet dataSet) Constructor for EmBayesEstimator.Identifiability
(BayesIm bayesIm) Constructs a new updater for the given Bayes net.Identifiability
(BayesIm bayesIm, Evidence evidence) Constructor for Identifiability.JunctionTreeAlgorithm
(BayesIm bayesIm) Constructor for JunctionTreeAlgorithm.JunctionTreeUpdater
(BayesIm bayesIm) Constructor for JunctionTreeUpdater.JunctionTreeUpdater
(BayesIm bayesIm, Evidence evidence) Constructor for JunctionTreeUpdater.Copy constructor.MlBayesIm
(BayesPm bayesPm, BayesIm oldBayesIm, MlBayesIm.InitializationMethod initializationMethod) Constructs a new BayesIm from the given BayesPm, initializing values either as MANUAL or RANDOM, but using values from the old BayesIm provided where posssible.MlBayesImObs
(BayesIm bayesIm) Constructor for MlBayesImObs.MlBayesImObs
(BayesPm bayesPm, BayesIm oldBayesIm, int initializationMethod) Constructs a new BayesIm from the given BayesPm, initializing values either as MANUAL or RANDOM, but using values from the old BayesIm provided where posssible.RowSummingExactUpdater
(BayesIm bayesIm) Constructs a new updater for the given Bayes net.RowSummingExactUpdater
(BayesIm bayesIm, Evidence evidence) Constructs a new updater for the given Bayes net.UpdatedBayesIm
(BayesIm bayesIm) Constructs Bayes net in which CPT's updated for the given evidence are calculated on the fly.UpdatedBayesIm
(BayesIm bayesIm, Evidence evidence) Constructs Bayes net in which CPT's updated for the given evidence are calculated on the fly. -
Uses of BayesIm in edu.cmu.tetrad.classify
Methods in edu.cmu.tetrad.classify that return BayesImModifier and TypeMethodDescriptionClassifierBayesUpdaterDiscrete.getBayesIm()
Returns the Bayes IM being used.Constructors in edu.cmu.tetrad.classify with parameters of type BayesImModifierConstructorDescriptionClassifierBayesUpdaterDiscrete
(BayesIm bayesIm, DataSet testData) The constructor sets the values of the private member variables. -
Uses of BayesIm in edu.cmu.tetrad.search.utils
Methods in edu.cmu.tetrad.search.utils that return BayesImModifier and TypeMethodDescriptionBayesImParser.getBayesIm
(nu.xom.Element element) Takes an xml representation of a Bayes IM and reinstantiates the IM.