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 TypeMethodDescription33 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()
BayesUpdater.getBayesIm()
Returns the evidence for the updater.BayesXmlParser.getBayesIm
(nu.xom.Element element) CptInvariantUpdater.getBayesIm()
Identifiability.getBayesIm()
The BayesIm that this updater bases its update on.JunctionTreeUpdater.getBayesIm()
RowSummingExactUpdater.getBayesIm()
The BayesIm that this updater bases its update on.MlBayesImObs.getBayesImObs()
EmBayesEstimator.getEstimatedIm()
ApproximateUpdater.getManipulatedBayesIm()
CptInvariantUpdater.getManipulatedBayesIm()
Identifiability.getManipulatedBayesIm()
JunctionTreeUpdater.getManipulatedBayesIm()
ManipulatingBayesUpdater.getManipulatedBayesIm()
Returns the manipulated Bayes IM.RowSummingExactUpdater.getManipulatedBayesIm()
ApproximateUpdater.getUpdatedBayesIm()
CptInvariantUpdater.getUpdatedBayesIm()
Identifiability.getUpdatedBayesIm()
The updated BayesIm.JunctionTreeUpdater.getUpdatedBayesIm()
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.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) 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) int
MlBayesIm.getCorrespondingNodeIndex
(int nodeIndex, BayesIm otherBayesIm) int
MlBayesImObs.getCorrespondingNodeIndex
(int nodeIndex, BayesIm otherBayesIm) int
UpdatedBayesIm.getCorrespondingNodeIndex
(int nodeIndex, BayesIm otherBayesIm) static nu.xom.Element
BayesXmlRenderer.getElement
(BayesIm bayesIm) double[][]
BdeMetricCache.getObservedCounts
(Node node, BayesPm bayesPm, BayesIm bayesIm) This method is used in testing and debugging and not in the BDe metric calculations.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) CptInvariantUpdater
(BayesIm bayesIm, Evidence evidence) Constructs a new updater for the given Bayes net.EmBayesEstimator
(BayesIm inputBayesIm, DataSet dataSet) Identifiability
(BayesIm bayesIm) Constructs a new updater for the given Bayes net.Identifiability
(BayesIm bayesIm, Evidence evidence) JunctionTreeAlgorithm
(BayesIm bayesIm) JunctionTreeUpdater
(BayesIm bayesIm) JunctionTreeUpdater
(BayesIm bayesIm, Evidence evidence) Copy constructor.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) 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 BayesIm -
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