| weka.classifiers.bayes.net.search.local.LocalScoreSearchAlgorithm weka.classifiers.bayes.net.search.ci.CISearchAlgorithm
All known Subclasses: weka.classifiers.bayes.net.search.ci.ICSSearchAlgorithm,
CISearchAlgorithm | public class CISearchAlgorithm extends LocalScoreSearchAlgorithm (Code) | |
The CISearchAlgorithm class supports Bayes net structure search algorithms that are based on conditional independence test (as opposed to for example score based of cross validation based search algorithms).
Valid options are:
-mbc
Applies a Markov Blanket correction to the network structure,
after a network structure is learned. This ensures that all
nodes in the network are part of the Markov blanket of the
classifier node.
-S [BAYES|MDL|ENTROPY|AIC|CROSS_CLASSIC|CROSS_BAYES]
Score type (BAYES, BDeu, MDL, ENTROPY and AIC)
author: Remco Bouckaert (rrb@xm.co.nz) version: $Revision: 1.6 $ |
Method Summary | |
public String | globalInfo() | protected boolean | isConditionalIndependent(int iAttributeX, int iAttributeY, int[] iAttributesZ, int nAttributesZ) IsConditionalIndependent tests whether two nodes X and Y are independent
given a set of variables Z. |
serialVersionUID | final static long serialVersionUID(Code) | | for serialization
|
globalInfo | public String globalInfo()(Code) | | Returns a string describing this object
a description of the classifier suitable fordisplaying in the explorer/experimenter gui |
isConditionalIndependent | protected boolean isConditionalIndependent(int iAttributeX, int iAttributeY, int[] iAttributesZ, int nAttributesZ)(Code) | | IsConditionalIndependent tests whether two nodes X and Y are independent
given a set of variables Z. The test compares the score of the Bayes network
with and without arrow Y->X where all nodes in Z are parents of X.
Parameters: iAttributeX - - index of attribute representing variable X Parameters: iAttributeY - - index of attribute representing variable Y Parameters: iAttributesZ - - array of integers representing indices of attributes in set Z Parameters: nAttributesZ - - cardinality of Z true if X and Y conditionally independent given Z |
Fields inherited from weka.classifiers.bayes.net.search.local.LocalScoreSearchAlgorithm | final public static Tag[] TAGS_SCORE_TYPE(Code)(Java Doc)
|
|
|