Package edu.cmu.tetrad.sem
Class SemUpdater
java.lang.Object
edu.cmu.tetrad.sem.SemUpdater
- All Implemented Interfaces:
TetradSerializable
,Serializable
Calculates updated structural equation models given evidence of the form X1=x1',...,The main task of such and
algorithm is to calculate P(X = x' | evidence), where evidence takes the form of a Proposition over the variables in
the Bayes net, possibly with additional information about which variables in the Bayes net have been manipulated.
- Author:
- josephramsey
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSemIm()
See http://en.wikipedia.org/wiki/Multivariate_normal_distribution.static SemUpdater
Generates a simple exemplar of this class to test serialization.void
setEvidence
(SemEvidence evidence) Sets new evidence for the updater.
-
Constructor Details
-
SemUpdater
-
-
Method Details
-
serializableInstance
Generates a simple exemplar of this class to test serialization. -
getEvidence
-
setEvidence
Sets new evidence for the updater. Once this is called, old updating results should not longer be available. -
getSemIm
- Returns:
- the Bayes instantiated model that is being updated.
-
getUpdatedSemIm
See http://en.wikipedia.org/wiki/Multivariate_normal_distribution. -
getManipulatedGraph
-
getManipulatedSemIm
-