📄 bifreader.html
字号:
<DD><DL><DT><B>Returns:</B><DD>the technical information about this class</DL></DD></DL><HR><A NAME="Sync(weka.classifiers.bayes.BayesNet)"><!-- --></A><H3>Sync</H3><PRE>public void <B>Sync</B>(<A HREF="../../../../weka/classifiers/bayes/BayesNet.html" title="class in weka.classifiers.bayes">BayesNet</A> other) throws java.lang.Exception</PRE><DL><DD>synchronizes the node ordering of this Bayes network with those in the other network (if possible).<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>other</CODE> - Bayes network to synchronize with<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if nr of attributes differs or not all of the variables have the same name.</DL></DD></DL><HR><A NAME="getContent(org.w3c.dom.Element)"><!-- --></A><H3>getContent</H3><PRE>public java.lang.String <B>getContent</B>(org.w3c.dom.Element node)</PRE><DL><DD>Returns all TEXT children of the given node in one string. Between the node values new lines are inserted.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>node</CODE> - the node to return the content for<DT><B>Returns:</B><DD>the content of the node</DL></DD></DL><HR><A NAME="missingArcs(weka.classifiers.bayes.BayesNet)"><!-- --></A><H3>missingArcs</H3><PRE>public int <B>missingArcs</B>(<A HREF="../../../../weka/classifiers/bayes/BayesNet.html" title="class in weka.classifiers.bayes">BayesNet</A> other)</PRE><DL><DD>Count nr of arcs missing from other network compared to current network Note that an arc is not 'missing' if it is reversed.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>other</CODE> - network to compare with<DT><B>Returns:</B><DD>nr of missing arcs</DL></DD></DL><HR><A NAME="extraArcs(weka.classifiers.bayes.BayesNet)"><!-- --></A><H3>extraArcs</H3><PRE>public int <B>extraArcs</B>(<A HREF="../../../../weka/classifiers/bayes/BayesNet.html" title="class in weka.classifiers.bayes">BayesNet</A> other)</PRE><DL><DD>Count nr of exta arcs from other network compared to current network Note that an arc is not 'extra' if it is reversed.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>other</CODE> - network to compare with<DT><B>Returns:</B><DD>nr of missing arcs</DL></DD></DL><HR><A NAME="divergence(weka.classifiers.bayes.BayesNet)"><!-- --></A><H3>divergence</H3><PRE>public double <B>divergence</B>(<A HREF="../../../../weka/classifiers/bayes/BayesNet.html" title="class in weka.classifiers.bayes">BayesNet</A> other)</PRE><DL><DD>calculates the divergence between the probability distribution represented by this network and that of another, that is, \sum_{x\in X} P(x)log P(x)/Q(x) where X is the set of values the nodes in the network can take, P(x) the probability of this network for configuration x Q(x) the probability of the other network for configuration x<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>other</CODE> - network to compare with<DT><B>Returns:</B><DD>divergence between this and other Bayes Network</DL></DD></DL><HR><A NAME="reversedArcs(weka.classifiers.bayes.BayesNet)"><!-- --></A><H3>reversedArcs</H3><PRE>public int <B>reversedArcs</B>(<A HREF="../../../../weka/classifiers/bayes/BayesNet.html" title="class in weka.classifiers.bayes">BayesNet</A> other)</PRE><DL><DD>Count nr of reversed arcs from other network compared to current network<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>other</CODE> - network to compare with<DT><B>Returns:</B><DD>nr of missing arcs</DL></DD></DL><HR><A NAME="getNode(java.lang.String)"><!-- --></A><H3>getNode</H3><PRE>public int <B>getNode</B>(java.lang.String sNodeName) throws java.lang.Exception</PRE><DL><DD>getNode finds the index of the node with name sNodeName and throws an exception if no such node can be found.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>sNodeName</CODE> - name of the node to get the index from<DT><B>Returns:</B><DD>index of the node with name sNodeName<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if node cannot be found</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><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../weka/classifiers/bayes/BayesNet.html#getRevision()">getRevision</A></CODE> in class <CODE><A HREF="../../../../weka/classifiers/bayes/BayesNet.html" title="class in weka.classifiers.bayes">BayesNet</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the revision</DL></DD></DL><HR><A NAME="main(java.lang.String[])"><!-- --></A><H3>main</H3><PRE>public static void <B>main</B>(java.lang.String[] args)</PRE><DL><DD>Loads the file specified as first parameter and prints it to stdout.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>args</CODE> - the command line parameters</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/net/BayesNetGenerator.html" title="class in weka.classifiers.bayes.net"><B>PREV CLASS</B></A> <A HREF="../../../../weka/classifiers/bayes/net/EditableBayesNet.html" title="class in weka.classifiers.bayes.net"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?weka/classifiers/bayes/net/BIFReader.html" target="_top"><B>FRAMES</B></A> <A HREF="BIFReader.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="#fields_inherited_from_class_weka.classifiers.bayes.BayesNet">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: FIELD | <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 + -