📄 performancecriterion.html
字号:
</TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_com.rapidminer.operator.IOObject"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from interface com.rapidminer.operator.<A HREF="../../../../com/rapidminer/operator/IOObject.html" title="interface in com.rapidminer.operator">IOObject</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../com/rapidminer/operator/IOObject.html#copy()">copy</A>, <A HREF="../../../../com/rapidminer/operator/IOObject.html#getLog()">getLog</A>, <A HREF="../../../../com/rapidminer/operator/IOObject.html#getSource()">getSource</A>, <A HREF="../../../../com/rapidminer/operator/IOObject.html#setSource(java.lang.String)">setSource</A>, <A HREF="../../../../com/rapidminer/operator/IOObject.html#setWorkingOperator(com.rapidminer.operator.Operator)">setWorkingOperator</A>, <A HREF="../../../../com/rapidminer/operator/IOObject.html#write(java.io.OutputStream)">write</A></CODE></TD></TR></TABLE> <P><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_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>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="PerformanceCriterion()"><!-- --></A><H3>PerformanceCriterion</H3><PRE>public <B>PerformanceCriterion</B>()</PRE><DL></DL><HR><A NAME="PerformanceCriterion(com.rapidminer.operator.performance.PerformanceCriterion)"><!-- --></A><H3>PerformanceCriterion</H3><PRE>public <B>PerformanceCriterion</B>(<A HREF="../../../../com/rapidminer/operator/performance/PerformanceCriterion.html" title="class in com.rapidminer.operator.performance">PerformanceCriterion</A> o)</PRE><DL><DD>Clone 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="getDescription()"><!-- --></A><H3>getDescription</H3><PRE>public abstract java.lang.String <B>getDescription</B>()</PRE><DL><DD>Returns a description of the performance criterion. This description is used for GUI purposes and automatic parameter type creation for the <A HREF="../../../../com/rapidminer/operator/performance/PerformanceEvaluator.html" title="class in com.rapidminer.operator.performance"><CODE>PerformanceEvaluator</CODE></A> operator.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getExampleCount()"><!-- --></A><H3>getExampleCount</H3><PRE>public abstract double <B>getExampleCount</B>()</PRE><DL><DD>Returns the number of data points which was used to determine the criterion value. If the criterion does not use example weights (or no weight was given) then the returned value will be an integer. Otherwise, the returned value is the sum of all example weights.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getFitness()"><!-- --></A><H3>getFitness</H3><PRE>public abstract double <B>getFitness</B>()</PRE><DL><DD><p>Returns the fitness depending on the value. The fitness values will be used for all optimization purposes (feature space transformations, parameter optimizations...) and must always be maximized. Hence, if your criterion is better the smaller the value is you should return something like (-1 * value) or (1 / value).</p> <p>Subclasses should use <A HREF="../../../../com/rapidminer/tools/math/Averagable.html#getAverage()"><CODE>Averagable.getAverage()</CODE></A> instead of <A HREF="../../../../com/rapidminer/tools/math/Averagable.html#getMikroAverage()"><CODE>Averagable.getMikroAverage()</CODE></A> in this method since usually the makro average (if available) should be optmized instead of the mikro average. The mikro average should only be used in the (rare) cases where no makro average is available but this is automatically done returned by <A HREF="../../../../com/rapidminer/tools/math/Averagable.html#getAverage()"><CODE>Averagable.getAverage()</CODE></A> in these cases.</p><P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getMaxFitness()"><!-- --></A><H3>getMaxFitness</H3><PRE>public double <B>getMaxFitness</B>()</PRE><DL><DD>Returns the maximum fitness. The default implementation resturns POSITIVE_INFINITY, subclasses may override this to allow feature operators to end the optimization if the maximum was reached.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="compareTo(com.rapidminer.operator.performance.PerformanceCriterion)"><!-- --></A><H3>compareTo</H3><PRE>public int <B>compareTo</B>(<A HREF="../../../../com/rapidminer/operator/performance/PerformanceCriterion.html" title="class in com.rapidminer.operator.performance">PerformanceCriterion</A> o)</PRE><DL><DD>The semantics of this method follow the specification in the interface <tt>java.lang.Comparable</tt> in the following way: Two objects of this class are equal if their <b>getFitness()</b> values are equal. The return value is 0 in this case. If the specified object is not an object of this class, a ClassCastException is thrown. If the given object has fitness bigger than this object, the return value is -1. If the given object has fitness smaller than this object, 1 is returned. No characteristics beside the fitness are used to compare two objects of this class.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>compareTo</CODE> in interface <CODE>java.lang.Comparable<<A HREF="../../../../com/rapidminer/operator/performance/PerformanceCriterion.html" title="class in com.rapidminer.operator.performance">PerformanceCriterion</A>></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>o</CODE> - Object of this class to compare this object to.<DT><B>Returns:</B><DD>-1, 0 or 1 if the given object is greater than, equal to, or less than this object.</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="class-use/PerformanceCriterion.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </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> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><a href="http://sourceforge.net"><img src="http://sourceforge.net/sflogo.php?group_id=114160&type=2" width="125" height="37" border="0" alt="SourceForge.net Logo" /></a></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../com/rapidminer/operator/performance/PerformanceComparator.html" title="interface in com.rapidminer.operator.performance"><B>PREV CLASS</B></A> <A HREF="../../../../com/rapidminer/operator/performance/PerformanceEvaluator.html" title="class in com.rapidminer.operator.performance"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?com/rapidminer/operator/performance/PerformanceCriterion.html" target="_top"><B>FRAMES</B></A> <A HREF="PerformanceCriterion.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><i>Copyright © 2001-2008 by <a href="http://rapid-i.com" target="_blank">Rapid-I</a></i></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -