|
jBNC Toolbox | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjbnc.measures.QualityMeasure
jbnc.measures.QualityMeasureLC
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 )
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 |
public QualityMeasureLC()
public QualityMeasureLC(DatasetInt dataset)
dataset
- Description of ParameterMethod Detail |
public java.lang.String getName()
getName
in class QualityMeasure
public final double evaluate(BayesianNetworks.BayesNet net) throws java.lang.Exception
evaluate
in class QualityMeasure
net
- Description of Parameter
java.lang.Exception
- Description of Exception
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |