java.lang.Object
es.upm.fi.cig.multictbnc.learning.structure.optimisation.scores.bn.BNBayesianScore
All Implemented Interfaces:
BNScoreFunction

public class BNBayesianScore extends Object implements BNScoreFunction
Implements the Bayesian Dirichlet equivalence metric for Bayesian networks with nodes that have CPTs (Heckerman et al., 1995).
  • Constructor Details

    • BNBayesianScore

      public BNBayesianScore()
  • Method Details

    • compute

      public double compute(BN<? extends Node> bn)
      Description copied from interface: BNScoreFunction
      Computes the score of a Bayesian network.
      Specified by:
      compute in interface BNScoreFunction
      Parameters:
      bn - a Bayesian network
      Returns:
      score
    • getIdentifier

      public String getIdentifier()
      Description copied from interface: BNScoreFunction
      Gets an identifier for the score function.
      Specified by:
      getIdentifier in interface BNScoreFunction
      Returns:
      identifier for the score function.
    • getNamePenalisationFunction

      public String getNamePenalisationFunction()
      Description copied from interface: BNScoreFunction
      Gets the name of the penalisation applied (if any) to the score function.
      Specified by:
      getNamePenalisationFunction in interface BNScoreFunction
      Returns:
      name of the penalisation applied to the score function