📄 bayesnet.html
字号:
<DL><DD>get node index of a parent of a node in the network structure<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>iNode</CODE> - index of the node<DD><CODE>iParent</CODE> - index of the parents, e.g., 0 is the first parent, 1 the second parent, etc.<DT><B>Returns:</B><DD>node index of the iParent's parent of the specified node</DL></DD></DL><HR><A NAME="getParentSets()"><!-- --></A><H3>getParentSets</H3><PRE>public <A HREF="../../../weka/classifiers/bayes/net/ParentSet.html" title="class in weka.classifiers.bayes.net">ParentSet</A>[] <B>getParentSets</B>()</PRE><DL><DD>Get full set of parent sets.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>parent sets;</DL></DD></DL><HR><A NAME="getDistributions()"><!-- --></A><H3>getDistributions</H3><PRE>public <A HREF="../../../weka/estimators/Estimator.html" title="class in weka.estimators">Estimator</A>[][] <B>getDistributions</B>()</PRE><DL><DD>Get full set of estimators.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>estimators;</DL></DD></DL><HR><A NAME="getParentCardinality(int)"><!-- --></A><H3>getParentCardinality</H3><PRE>public int <B>getParentCardinality</B>(int iNode)</PRE><DL><DD>get number of values the collection of parents of a node can take<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>iNode</CODE> - index of the node<DT><B>Returns:</B><DD>cardinality of the parent set of the specified node</DL></DD></DL><HR><A NAME="getProbability(int, int, int)"><!-- --></A><H3>getProbability</H3><PRE>public double <B>getProbability</B>(int iNode, int iParent, int iValue)</PRE><DL><DD>get particular probability of the conditional probability distribtion of a node given its parents.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>iNode</CODE> - index of the node<DD><CODE>iParent</CODE> - index of the parent set, 0 <= iParent <= getParentCardinality(iNode)<DD><CODE>iValue</CODE> - index of the value, 0 <= iValue <= getCardinality(iNode)<DT><B>Returns:</B><DD>probability</DL></DD></DL><HR><A NAME="getParentSet(int)"><!-- --></A><H3>getParentSet</H3><PRE>public <A HREF="../../../weka/classifiers/bayes/net/ParentSet.html" title="class in weka.classifiers.bayes.net">ParentSet</A> <B>getParentSet</B>(int iNode)</PRE><DL><DD>get the parent set of a node<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>iNode</CODE> - index of the node<DT><B>Returns:</B><DD>Parent set of the specified node.</DL></DD></DL><HR><A NAME="getADTree()"><!-- --></A><H3>getADTree</H3><PRE>public <A HREF="../../../weka/classifiers/bayes/net/ADNode.html" title="class in weka.classifiers.bayes.net">ADNode</A> <B>getADTree</B>()</PRE><DL><DD>get ADTree strucrture containing efficient representation of counts.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>ADTree strucrture</DL></DD></DL><HR><A NAME="enumerateMeasures()"><!-- --></A><H3>enumerateMeasures</H3><PRE>public java.util.Enumeration <B>enumerateMeasures</B>()</PRE><DL><DD>Returns an enumeration of the measure names. Additional measures must follow the naming convention of starting with "measure", eg. double measureBlah()<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../weka/core/AdditionalMeasureProducer.html#enumerateMeasures()">enumerateMeasures</A></CODE> in interface <CODE><A HREF="../../../weka/core/AdditionalMeasureProducer.html" title="interface in weka.core">AdditionalMeasureProducer</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>an enumeration of the measure names</DL></DD></DL><HR><A NAME="measureExtraArcs()"><!-- --></A><H3>measureExtraArcs</H3><PRE>public double <B>measureExtraArcs</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="measureMissingArcs()"><!-- --></A><H3>measureMissingArcs</H3><PRE>public double <B>measureMissingArcs</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="measureReversedArcs()"><!-- --></A><H3>measureReversedArcs</H3><PRE>public double <B>measureReversedArcs</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="measureDivergence()"><!-- --></A><H3>measureDivergence</H3><PRE>public double <B>measureDivergence</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="measureBayesScore()"><!-- --></A><H3>measureBayesScore</H3><PRE>public double <B>measureBayesScore</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="measureBDeuScore()"><!-- --></A><H3>measureBDeuScore</H3><PRE>public double <B>measureBDeuScore</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="measureMDLScore()"><!-- --></A><H3>measureMDLScore</H3><PRE>public double <B>measureMDLScore</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="measureAICScore()"><!-- --></A><H3>measureAICScore</H3><PRE>public double <B>measureAICScore</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="measureEntropyScore()"><!-- --></A><H3>measureEntropyScore</H3><PRE>public double <B>measureEntropyScore</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getMeasure(java.lang.String)"><!-- --></A><H3>getMeasure</H3><PRE>public double <B>getMeasure</B>(java.lang.String measureName)</PRE><DL><DD>Returns the value of the named measure<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../weka/core/AdditionalMeasureProducer.html#getMeasure(java.lang.String)">getMeasure</A></CODE> in interface <CODE><A HREF="../../../weka/core/AdditionalMeasureProducer.html" title="interface in weka.core">AdditionalMeasureProducer</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>measureName</CODE> - the name of the measure to query for its value<DT><B>Returns:</B><DD>the value of the named measure<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if the named measure is not supported</DL></DD></DL><HR><A NAME="getRevision()"><!-- --></A><H3>getRevision</H3><PRE>public java.lang.String <B>getRevision</B>()</PRE><DL><DD>Returns the revision string.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../weka/core/RevisionHandler.html#getRevision()">getRevision</A></CODE> in interface <CODE><A HREF="../../../weka/core/RevisionHandler.html" title="interface in weka.core">RevisionHandler</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the revision</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="http://www.cs.waikato.ac.nz/ml/weka/" target="_blank"><FONT CLASS="NavBarFont1"><B>Weka's home</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../weka/classifiers/bayes/BayesianLogisticRegression.html" title="class in weka.classifiers.bayes"><B>PREV CLASS</B></A> <A HREF="../../../weka/classifiers/bayes/ComplementNaiveBayes.html" title="class in weka.classifiers.bayes"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?weka/classifiers/bayes/BayesNet.html" target="_top"><B>FRAMES</B></A> <A HREF="BayesNet.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -