jBNC Toolbox

jbnc.measures
Class QualityMeasureLC

java.lang.Object
  extended byjbnc.measures.QualityMeasure
      extended byjbnc.measures.QualityMeasureLC

public class QualityMeasureLC
extends QualityMeasure

Measure the quality of the bayesian network on the dataset using local criterion measure.

    q = LC(B ,D ) = suml =1...n log p (cl | a l , Dl , B )

Since:
June 1, 1999
Author:
Jarek Sacha

Field Summary
 
Fields inherited from class jbnc.measures.QualityMeasure
alphaK, dataset, usePriors
 
Constructor Summary
QualityMeasureLC()
          Constructor for the QualityMeasureLC object
QualityMeasureLC(DatasetInt dataset)
          Constructor for the QualityMeasureLC object
 
Method Summary
 double evaluate(BayesianNetworks.BayesNet net)
          Description of the Method
 java.lang.String getName()
          Gets the Name attribute of the QualityMeasureLC object
 
Methods inherited from class jbnc.measures.QualityMeasure
getAlphaK, getUsePriors, setAlphaK, setDataset, setUsePriors
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QualityMeasureLC

public QualityMeasureLC()
Constructor for the QualityMeasureLC object


QualityMeasureLC

public QualityMeasureLC(DatasetInt dataset)
Constructor for the QualityMeasureLC object

Parameters:
dataset - Description of Parameter
Method Detail

getName

public java.lang.String getName()
Gets the Name attribute of the QualityMeasureLC object

Specified by:
getName in class QualityMeasure
Returns:
The Name value

evaluate

public final double evaluate(BayesianNetworks.BayesNet net)
                      throws java.lang.Exception
Description of the Method

Specified by:
evaluate in class QualityMeasure
Parameters:
net - Description of Parameter
Returns:
Description of the Returned Value
Throws:
java.lang.Exception - Description of Exception

SourceForge.net Logo