📄 associatorevaluation.html
字号:
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="AssociatorEvaluation()"><!-- --></A><H3>AssociatorEvaluation</H3><PRE>public <B>AssociatorEvaluation</B>()</PRE><DL><DD>default constructor<P></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="evaluate(java.lang.String, java.lang.String[])"><!-- --></A><H3>evaluate</H3><PRE>public static java.lang.String <B>evaluate</B>(java.lang.String associatorString, java.lang.String[] options) throws java.lang.Exception</PRE><DL><DD>Evaluates an associator with the options given in an array of strings.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>associatorString</CODE> - class of associator as a string<DD><CODE>options</CODE> - the array of string containing the options<DT><B>Returns:</B><DD>a string describing the results<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if model could not be evaluated successfully</DL></DD></DL><HR><A NAME="evaluate(weka.associations.Associator, java.lang.String[])"><!-- --></A><H3>evaluate</H3><PRE>public static java.lang.String <B>evaluate</B>(<A HREF="../../weka/associations/Associator.html" title="class in weka.associations">Associator</A> associator, java.lang.String[] options) throws java.lang.Exception</PRE><DL><DD>Evaluates the associator with the given commandline options and returns the evaluation string.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>associator</CODE> - the Associator to evaluate<DD><CODE>options</CODE> - the commandline options<DT><B>Returns:</B><DD>the generated output string<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if evaluation fails</DL></DD></DL><HR><A NAME="evaluate(weka.associations.Associator, weka.core.Instances)"><!-- --></A><H3>evaluate</H3><PRE>public java.lang.String <B>evaluate</B>(<A HREF="../../weka/associations/Associator.html" title="class in weka.associations">Associator</A> associator, <A HREF="../../weka/core/Instances.html" title="class in weka.core">Instances</A> data) throws java.lang.Exception</PRE><DL><DD>Evaluates the associator with the given commandline options and returns the evaluation string.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>associator</CODE> - the Associator to evaluate<DD><CODE>data</CODE> - the data to run the associator with<DT><B>Returns:</B><DD>the generated output string<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if evaluation fails</DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(java.lang.Object obj)</PRE><DL><DD>Tests whether the current evaluation object is equal to another evaluation object<P><DD><DL><DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>obj</CODE> - the object to compare against<DT><B>Returns:</B><DD>true if the two objects are equal</DL></DD></DL><HR><A NAME="toSummaryString()"><!-- --></A><H3>toSummaryString</H3><PRE>public java.lang.String <B>toSummaryString</B>()</PRE><DL><DD>returns a summary string of the evaluation with a no title<P><DD><DL><DT><B>Returns:</B><DD>the summary string</DL></DD></DL><HR><A NAME="toSummaryString(java.lang.String)"><!-- --></A><H3>toSummaryString</H3><PRE>public java.lang.String <B>toSummaryString</B>(java.lang.String title)</PRE><DL><DD>returns a summary string of the evaluation with a default title<P><DD><DL><DT><B>Parameters:</B><DD><CODE>title</CODE> - the title to print before the result<DT><B>Returns:</B><DD>the summary string</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>returns the current result<P><DD><DL><DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the currently stored result<DT><B>See Also:</B><DD><A HREF="../../weka/associations/AssociatorEvaluation.html#toSummaryString()"><CODE>toSummaryString()</CODE></A></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>A test method for this class. Just extracts the first command line argument as an associator class name and calls evaluate.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>args</CODE> - an array of command line arguments, the first of which must be the class name of an associator.</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/associations/Associator.html" title="class in weka.associations"><B>PREV CLASS</B></A> <A HREF="../../weka/associations/CaRuleGeneration.html" title="class in weka.associations"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../index.html?weka/associations/AssociatorEvaluation.html" target="_top"><B>FRAMES</B></A> <A HREF="AssociatorEvaluation.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 | FIELD | <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 + -