📄 binaryclassificationperformance.html
字号:
<HR><A NAME="FALLOUT"><!-- --></A><H3>FALLOUT</H3><PRE>public static final int <B>FALLOUT</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.rapidminer.operator.performance.BinaryClassificationPerformance.FALLOUT">Constant Field Values</A></DL></DL><HR><A NAME="F_MEASURE"><!-- --></A><H3>F_MEASURE</H3><PRE>public static final int <B>F_MEASURE</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.rapidminer.operator.performance.BinaryClassificationPerformance.F_MEASURE">Constant Field Values</A></DL></DL><HR><A NAME="FALSE_POSITIVE"><!-- --></A><H3>FALSE_POSITIVE</H3><PRE>public static final int <B>FALSE_POSITIVE</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.rapidminer.operator.performance.BinaryClassificationPerformance.FALSE_POSITIVE">Constant Field Values</A></DL></DL><HR><A NAME="FALSE_NEGATIVE"><!-- --></A><H3>FALSE_NEGATIVE</H3><PRE>public static final int <B>FALSE_NEGATIVE</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.rapidminer.operator.performance.BinaryClassificationPerformance.FALSE_NEGATIVE">Constant Field Values</A></DL></DL><HR><A NAME="TRUE_POSITIVE"><!-- --></A><H3>TRUE_POSITIVE</H3><PRE>public static final int <B>TRUE_POSITIVE</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.rapidminer.operator.performance.BinaryClassificationPerformance.TRUE_POSITIVE">Constant Field Values</A></DL></DL><HR><A NAME="TRUE_NEGATIVE"><!-- --></A><H3>TRUE_NEGATIVE</H3><PRE>public static final int <B>TRUE_NEGATIVE</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.rapidminer.operator.performance.BinaryClassificationPerformance.TRUE_NEGATIVE">Constant Field Values</A></DL></DL><HR><A NAME="NAMES"><!-- --></A><H3>NAMES</H3><PRE>public static final java.lang.String[] <B>NAMES</B></PRE><DL><DL></DL></DL><HR><A NAME="DESCRIPTIONS"><!-- --></A><H3>DESCRIPTIONS</H3><PRE>public static final java.lang.String[] <B>DESCRIPTIONS</B></PRE><DL><DL></DL></DL><!-- ========= 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="BinaryClassificationPerformance()"><!-- --></A><H3>BinaryClassificationPerformance</H3><PRE>public <B>BinaryClassificationPerformance</B>()</PRE><DL></DL><HR><A NAME="BinaryClassificationPerformance(com.rapidminer.operator.performance.BinaryClassificationPerformance)"><!-- --></A><H3>BinaryClassificationPerformance</H3><PRE>public <B>BinaryClassificationPerformance</B>(<A HREF="../../../../com/rapidminer/operator/performance/BinaryClassificationPerformance.html" title="class in com.rapidminer.operator.performance">BinaryClassificationPerformance</A> o)</PRE><DL></DL><HR><A NAME="BinaryClassificationPerformance(int)"><!-- --></A><H3>BinaryClassificationPerformance</H3><PRE>public <B>BinaryClassificationPerformance</B>(int type)</PRE><DL></DL><HR><A NAME="BinaryClassificationPerformance(int, double[][])"><!-- --></A><H3>BinaryClassificationPerformance</H3><PRE>public <B>BinaryClassificationPerformance</B>(int type, double[][] counter)</PRE><DL><DD>For test cases only.<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="newInstance(java.lang.String)"><!-- --></A><H3>newInstance</H3><PRE>public static <A HREF="../../../../com/rapidminer/operator/performance/BinaryClassificationPerformance.html" title="class in com.rapidminer.operator.performance">BinaryClassificationPerformance</A> <B>newInstance</B>(java.lang.String name)</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getExampleCount()"><!-- --></A><H3>getExampleCount</H3><PRE>public double <B>getExampleCount</B>()</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../com/rapidminer/operator/performance/PerformanceCriterion.html#getExampleCount()">PerformanceCriterion</A></CODE></B></DD><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><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/rapidminer/operator/performance/PerformanceCriterion.html#getExampleCount()">getExampleCount</A></CODE> in class <CODE><A HREF="../../../../com/rapidminer/operator/performance/PerformanceCriterion.html" title="class in com.rapidminer.operator.performance">PerformanceCriterion</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="startCounting(com.rapidminer.example.ExampleSet, boolean)"><!-- --></A><H3>startCounting</H3><PRE>public void <B>startCounting</B>(<A HREF="../../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A> eSet, boolean useExampleWeights) throws <A HREF="../../../../com/rapidminer/operator/OperatorException.html" title="class in com.rapidminer.operator">OperatorException</A></PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../com/rapidminer/operator/performance/MeasuredPerformance.html#startCounting(com.rapidminer.example.ExampleSet, boolean)">MeasuredPerformance</A></CODE></B></DD><DD>Initializes the criterion. The default implementation does nothing.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/rapidminer/operator/performance/MeasuredPerformance.html#startCounting(com.rapidminer.example.ExampleSet, boolean)">startCounting</A></CODE> in class <CODE><A HREF="../../../../com/rapidminer/operator/performance/MeasuredPerformance.html" title="class in com.rapidminer.operator.performance">MeasuredPerformance</A></CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/rapidminer/operator/OperatorException.html" title="class in com.rapidminer.operator">OperatorException</A></CODE></DL></DD></DL><HR><A NAME="countExample(com.rapidminer.example.Example)"><!-- --></A><H3>countExample</H3><PRE>public void <B>countExample</B>(<A HREF="../../../../com/rapidminer/example/Example.html" title="class in com.rapidminer.example">Example</A> example)</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../com/rapidminer/operator/performance/MeasuredPerformance.html#countExample(com.rapidminer.example.Example)">MeasuredPerformance</A></CODE></B></DD><DD>Counts a single example, e.g. by summing up errors.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/rapidminer/operator/performance/MeasuredPerformance.html#countExample(com.rapidminer.example.Example)">countExample</A></CODE> in class <CODE><A HREF="../../../../com/rapidminer/operator/performance/MeasuredPerformance.html" title="class in com.rapidminer.operator.performance">MeasuredPerformance</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getMikroAverage()"><!-- --></A><H3>getMikroAverage</H3><PRE>public double <B>getMikroAverage</B>()</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../com/rapidminer/tools/math/Averagable.html#getMikroAverage()">Averagable</A></CODE></B></DD><DD>Returns the (current) value of the averagable (the average itself). If the method <A HREF="../../../../com/rapidminer/tools/math/Averagable.html#buildSingleAverage(com.rapidminer.tools.math.Averagable)"><CODE>Averagable.buildSingleAverage(Averagable)</CODE></A> was used, this method must return the micro average from both (or more) criteria. This is usually achieved by correctly implementing <A HREF="../../../../com/rapidminer/tools/math/Averagable.html#buildSingleAverage(com.rapidminer.tools.math.Averagable)"><CODE>Averagable.buildSingleAverage(Averagable)</CODE></A>.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/rapidminer/tools/math/Averagable.html#getMikroAverage()">getMikroAverage</A></CODE> in class <CODE><A HREF="../../../../com/rapidminer/tools/math/Averagable.html" title="class in com.rapidminer.tools.math">Averagable</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getFitness()"><!-- --></A><H3>getFitness</H3><PRE>public double <B>getFitness</B>()</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../com/rapidminer/operator/performance/PerformanceCriterion.html#getFitness()">PerformanceCriterion</A></CODE></B></DD><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><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/rapidminer/operator/performance/PerformanceCriterion.html#getFitness()">getFitness</A></CODE> in class <CODE><A HREF="../../../../com/rapidminer/operator/performance/PerformanceCriterion.html" title="class in com.rapidminer.operator.performance">PerformanceCriterion</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getMaxFitness()"><!-- --></A><H3>getMaxFitness</H3><PRE>public double <B>getMaxFitness</B>()</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../com/rapidminer/operator/performance/PerformanceCriterion.html#getMaxFitness()">PerformanceCriterion</A></CODE></B></DD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -