📄 evaluation.html
字号:
</DL></DD><DD><DL><DT><B>Returns:</B><DD>the number of classes</DL></DD></DL><HR><A NAME="numFolds()"><!-- --></A><H3>numFolds</H3><PRE>public final int <B>numFolds</B>()</PRE><DL><DD>Gets the number of folds to be done in the cross-validation step.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the number of folds</DL></DD></DL><HR><A NAME="incorrect()"><!-- --></A><H3>incorrect</H3><PRE>public final double <B>incorrect</B>()</PRE><DL><DD>Gets the number of instances incorrectly classified (that is, for which an incorrect prediction was made). (Actually the sum of the weights of these instances)<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the number of incorrectly classified instances</DL></DD></DL><HR><A NAME="correct()"><!-- --></A><H3>correct</H3><PRE>public final double <B>correct</B>()</PRE><DL><DD>Gets the number of instances correctly classified (that is, for which a correct prediction was made). (Actually the sum of the weights of these instances)<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the number of correctly classified instances</DL></DD></DL><HR><A NAME="unclassified()"><!-- --></A><H3>unclassified</H3><PRE>public final double <B>unclassified</B>()</PRE><DL><DD>Gets the number of instances not classified (that is, for which no prediction was made by the classifier). (Actually the sum of the weights of these instances)<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the number of unclassified instances</DL></DD></DL><HR><A NAME="missingClass()"><!-- --></A><H3>missingClass</H3><PRE>public final double <B>missingClass</B>()</PRE><DL><DD>Gets the value of the missingClass variable<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the value of the missingClass variable</DL></DD></DL><HR><A NAME="withClass()"><!-- --></A><H3>withClass</H3><PRE>public final double <B>withClass</B>()</PRE><DL><DD>Gets the value of the withClass variable<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the value of the withClass variable</DL></DD></DL><HR><A NAME="confusionMatrix()"><!-- --></A><H3>confusionMatrix</H3><PRE>public double[][] <B>confusionMatrix</B>()</PRE><DL><DD>Returns a copy of the confusion matrix.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a copy of the confusion matrix as a two-dimensional array</DL></DD></DL><HR><A NAME="classNames()"><!-- --></A><H3>classNames</H3><PRE>public java.lang.String[] <B>classNames</B>()</PRE><DL><DD>Returns a copy of the classNames array.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a copy of the classNames array</DL></DD></DL><HR><A NAME="classPriors()"><!-- --></A><H3>classPriors</H3><PRE>public double[] <B>classPriors</B>()</PRE><DL><DD>Tells whether or not the class is nominal.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a boolean telling whether or not the class is nominal.public final boolean classIsNominal(){return m_ClassIsNominal;}/** Gets a copy of the classPriors array.</DL></DD></DL><HR><A NAME="classPriorsSum()"><!-- --></A><H3>classPriorsSum</H3><PRE>public final double <B>classPriorsSum</B>()</PRE><DL><DD>Gets the value of the classPriorsSum variable<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the value of the classPriorsSum variable</DL></DD></DL><HR><A NAME="costMatrix()"><!-- --></A><H3>costMatrix</H3><PRE>public <A HREF="../../weka/classifiers/CostMatrix.html">CostMatrix</A> <B>costMatrix</B>()</PRE><DL><DD>Gets a copy of the cost matrix.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a copy of the cost matrix</DL></DD></DL><HR><A NAME="totalCost()"><!-- --></A><H3>totalCost</H3><PRE>public final double <B>totalCost</B>()</PRE><DL><DD>Gets the total cost, that is, the cost of each prediction times the weight of the instance, summed over all instances.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the total cost</DL></DD></DL><HR><A NAME="sumErr()"><!-- --></A><H3>sumErr</H3><PRE>public final double <B>sumErr</B>()</PRE><DL><DD>Gets the value of the sumErr variable.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the value of the sumErr variable.</DL></DD></DL><HR><A NAME="sumAbsErr()"><!-- --></A><H3>sumAbsErr</H3><PRE>public final double <B>sumAbsErr</B>()</PRE><DL><DD>Gets the value of the sumAbsErr variable.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the value of the sumAbsErr variable</DL></DD></DL><HR><A NAME="sumSqrErr()"><!-- --></A><H3>sumSqrErr</H3><PRE>public final double <B>sumSqrErr</B>()</PRE><DL><DD>Gets the value of the sumSqrErr variable.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the value of the sumSqrErr variable</DL></DD></DL><HR><A NAME="sumClass()"><!-- --></A><H3>sumClass</H3><PRE>public final double <B>sumClass</B>()</PRE><DL><DD>Gets the value of the sumClass variable.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the value of the sumClass variable</DL></DD></DL><HR><A NAME="sumSqrClass()"><!-- --></A><H3>sumSqrClass</H3><PRE>public final double <B>sumSqrClass</B>()</PRE><DL><DD>Gets the value of the sumSqrClass variable.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the value of the sumSqrClass variable</DL></DD></DL><HR><A NAME="sumPredicted()"><!-- --></A><H3>sumPredicted</H3><PRE>public final double <B>sumPredicted</B>()</PRE><DL><DD>Gets the value of the sumPredicted variable.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the value of the sumPredicted variable</DL></DD></DL><HR><A NAME="sumSqrPredicted()"><!-- --></A><H3>sumSqrPredicted</H3><PRE>public final double <B>sumSqrPredicted</B>()</PRE><DL><DD>Gets the value of the sumSqrPredicted variable.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the value of the sumSqrPredicted variable</DL></DD></DL><HR><A NAME="sumClassPredicted()"><!-- --></A><H3>sumClassPredicted</H3><PRE>public final double <B>sumClassPredicted</B>()</PRE><DL><DD>Gets the value of the sumClassPredicted variable.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the value of the sumClassPredicted variable</DL></DD></DL><HR><A NAME="sumPriorAbsErr()"><!-- --></A><H3>sumPriorAbsErr</H3><PRE>public final double <B>sumPriorAbsErr</B>()</PRE><DL><DD>Gets the value of the sumPriorAbsError variable.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the value of the sumPriorAbsError variable</DL></DD></DL><HR><A NAME="sumPriorSqrErr()"><!-- --></A><H3>sumPriorSqrErr</H3><PRE>public final double <B>sumPriorSqrErr</B>()</PRE><DL><DD>Gets the value of the sumPriorSqrErr variable.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the value of the sumPriorSqrErr variable</DL></DD></DL><HR><A NAME="sumKBInfo()"><!-- --></A><H3>sumKBInfo</H3><PRE>public final double <B>sumKBInfo</B>()</PRE><DL><DD>Gets the value of the sumKBInfo variable.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the value of the sumKBInfo variable</DL></DD></DL><HR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -