Class MlBayesEstimator

java.lang.Object
edu.cmu.tetrad.bayes.MlBayesEstimator

public final class MlBayesEstimator extends Object
Estimates parameters of the given Bayes net from the given data using maximum likelihood method.
Version:
$Id: $Id
Author:
Shane Harwood, Joseph Ramsey
  • 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

      public BayesIm estimate(BayesPm bayesPm, DataSet dataSet)
      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.