Module es.upm.fi.cig.multictbnc
Class BNBayesianScore
java.lang.Object
es.upm.fi.cig.multictbnc.learning.structure.optimisation.scores.bn.BNBayesianScore
- All Implemented Interfaces:
BNScoreFunction
Implements the Bayesian Dirichlet equivalence metric for Bayesian networks with nodes that have CPTs (Heckerman et
al., 1995).
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
Computes the score of a Bayesian network.Gets an identifier for the score function.Gets the name of the penalisation applied (if any) to the score function.
-
Constructor Details
-
BNBayesianScore
public BNBayesianScore()
-
-
Method Details
-
compute
Description copied from interface:BNScoreFunction
Computes the score of a Bayesian network.- Specified by:
compute
in interfaceBNScoreFunction
- Parameters:
bn
- a Bayesian network- Returns:
- score
-
getIdentifier
Description copied from interface:BNScoreFunction
Gets an identifier for the score function.- Specified by:
getIdentifier
in interfaceBNScoreFunction
- Returns:
- identifier for the score function.
-
getNamePenalisationFunction
Description copied from interface:BNScoreFunction
Gets the name of the penalisation applied (if any) to the score function.- Specified by:
getNamePenalisationFunction
in interfaceBNScoreFunction
- Returns:
- name of the penalisation applied to the score function
-