Package edu.cmu.tetrad.bayes
Class MlBayesEstimator
java.lang.Object
edu.cmu.tetrad.bayes.MlBayesEstimator
Estimates parameters of the given Bayes net from the given data using maximum likelihood method.
- Version:
- $Id: $Id
- Author:
- Shane Harwood, Joseph Ramsey
-
Constructor Summary
ConstructorsConstructorDescriptionMlBayesEstimator
(double prior) Create an instance of MlBayesEstimator with the given prior. -
Method Summary
-
Constructor Details
-
MlBayesEstimator
public MlBayesEstimator(double prior) Create an instance of MlBayesEstimator with the given prior.- Parameters:
prior
- the prior value used in the ML estimation
-
-
Method Details
-
estimate
Estimates parameters of the given Bayes net from the given data using maximum likelihood method.- Parameters:
bayesPm
- The BayesPm object representing the Bayes net.dataSet
- The DataSet object containing the data.- Returns:
- A BayesIm object representing the estimated Bayes Information Matrix (Bayes IM).
- Throws:
NullPointerException
- if either bayesPm or dataSet is null.
-