Class BNMaximumLikelihoodEstimation

java.lang.Object
es.upm.fi.cig.multictbnc.learning.parameters.bn.BNParameterLearningAlgorithm
es.upm.fi.cig.multictbnc.learning.parameters.bn.BNMaximumLikelihoodEstimation
All Implemented Interfaces:
ParameterLearningAlgorithm

public class BNMaximumLikelihoodEstimation extends BNParameterLearningAlgorithm
Maximum likelihood estimation of BN parameters.
  • Constructor Details

    • BNMaximumLikelihoodEstimation

      public BNMaximumLikelihoodEstimation()
  • Method Details

    • getIdentifier

      public String getIdentifier()
      Description copied from interface: ParameterLearningAlgorithm
      Returns a unique identifier for the parameter learning algorithm.
      Returns:
      unique identifier for the parameter learning algorithm
    • getNameMethod

      public String getNameMethod()
      Description copied from interface: ParameterLearningAlgorithm
      Gets the name of the method to learn the parameters.
      Returns:
      name of the method to learn the parameters
    • getParametersAlgorithm

      public Map<String,String> getParametersAlgorithm()
      Description copied from interface: ParameterLearningAlgorithm
      Returns the parameters that are used by the algorithm.
      Returns:
      a Map with the parameters used by the algorithm
    • getSufficientStatisticsNode

      protected BNSufficientStatistics getSufficientStatisticsNode(DiscreteStateNode node, Dataset dataset)
      Description copied from class: BNParameterLearningAlgorithm
      Returns the sufficient statistics of a DiscreteNode for a given Dataset.
      Specified by:
      getSufficientStatisticsNode in class BNParameterLearningAlgorithm
      Parameters:
      node - a DiscreteNode
      dataset - dataset from which the sufficient statistics are extracted
      Returns:
      sufficient statistics of the provided node