📄 resultmatrix.html
字号:
<DD>sets the name of the column (if the index is valid)<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of the column<DD><CODE>name</CODE> - the name of the column</DL></DD></DL><HR><A NAME="getColName(int)"><!-- --></A><H3>getColName</H3><PRE>public java.lang.String <B>getColName</B>(int index)</PRE><DL><DD>returns the name of the row, if the index is valid, otherwise null. if getPrintColNames() is FALSE then an empty string is returned or if getEnumerateColNames() is TRUE then the 1-based index surrounded by parentheses.<P><DD><DL></DL></DD><DD><DL><DT><B>See Also:</B><DD><A HREF="../../weka/experiment/ResultMatrix.html#setPrintColNames(boolean)"><CODE>setPrintColNames(boolean)</CODE></A>, <A HREF="../../weka/experiment/ResultMatrix.html#getPrintColNames()"><CODE>getPrintColNames()</CODE></A>, <A HREF="../../weka/experiment/ResultMatrix.html#setEnumerateColNames(boolean)"><CODE>setEnumerateColNames(boolean)</CODE></A>, <A HREF="../../weka/experiment/ResultMatrix.html#getEnumerateColNames()"><CODE>getEnumerateColNames()</CODE></A></DL></DD></DL><HR><A NAME="setRowName(int, java.lang.String)"><!-- --></A><H3>setRowName</H3><PRE>public void <B>setRowName</B>(int index, java.lang.String name)</PRE><DL><DD>sets the name of the row (if the index is valid)<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of the row<DD><CODE>name</CODE> - the name of the row</DL></DD></DL><HR><A NAME="getRowName(int)"><!-- --></A><H3>getRowName</H3><PRE>public java.lang.String <B>getRowName</B>(int index)</PRE><DL><DD>returns the name of the row, if the index is valid, otherwise null. if getPrintRowNames() is FALSE then an empty string is returned or if getEnumerateRowNames() is TRUE then the 1-based index surrounded by parentheses.<P><DD><DL></DL></DD><DD><DL><DT><B>See Also:</B><DD><A HREF="../../weka/experiment/ResultMatrix.html#setPrintRowNames(boolean)"><CODE>setPrintRowNames(boolean)</CODE></A>, <A HREF="../../weka/experiment/ResultMatrix.html#getPrintRowNames()"><CODE>getPrintRowNames()</CODE></A>, <A HREF="../../weka/experiment/ResultMatrix.html#setEnumerateRowNames(boolean)"><CODE>setEnumerateRowNames(boolean)</CODE></A>, <A HREF="../../weka/experiment/ResultMatrix.html#getEnumerateRowNames()"><CODE>getEnumerateRowNames()</CODE></A></DL></DD></DL><HR><A NAME="setColHidden(int, boolean)"><!-- --></A><H3>setColHidden</H3><PRE>public void <B>setColHidden</B>(int index, boolean hidden)</PRE><DL><DD>sets the hidden status of the column (if the index is valid)<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of the column<DD><CODE>hidden</CODE> - the hidden status of the column</DL></DD></DL><HR><A NAME="getColHidden(int)"><!-- --></A><H3>getColHidden</H3><PRE>public boolean <B>getColHidden</B>(int index)</PRE><DL><DD>returns the hidden status of the column, if the index is valid, otherwise false<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setRowHidden(int, boolean)"><!-- --></A><H3>setRowHidden</H3><PRE>public void <B>setRowHidden</B>(int index, boolean hidden)</PRE><DL><DD>sets the hidden status of the row (if the index is valid)<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of the row<DD><CODE>hidden</CODE> - the hidden status of the row</DL></DD></DL><HR><A NAME="getRowHidden(int)"><!-- --></A><H3>getRowHidden</H3><PRE>public boolean <B>getRowHidden</B>(int index)</PRE><DL><DD>returns the hidden status of the row, if the index is valid, otherwise false<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setCount(int, double)"><!-- --></A><H3>setCount</H3><PRE>public void <B>setCount</B>(int index, double count)</PRE><DL><DD>sets the count for the row (if the index is valid)<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of the row<DD><CODE>count</CODE> - the count for the row</DL></DD></DL><HR><A NAME="getCount(int)"><!-- --></A><H3>getCount</H3><PRE>public double <B>getCount</B>(int index)</PRE><DL><DD>returns the count for the row. if the index is invalid then 0.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of the row<DT><B>Returns:</B><DD>the count for the row</DL></DD></DL><HR><A NAME="setMean(int, int, double)"><!-- --></A><H3>setMean</H3><PRE>public void <B>setMean</B>(int col, int row, double value)</PRE><DL><DD>sets the mean at the given position (if the position is valid)<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>col</CODE> - the column of the mean<DD><CODE>row</CODE> - the row of the mean<DD><CODE>value</CODE> - the value of the mean</DL></DD></DL><HR><A NAME="getMean(int, int)"><!-- --></A><H3>getMean</H3><PRE>public double <B>getMean</B>(int col, int row)</PRE><DL><DD>returns the mean at the given position, if the position is valid, otherwise 0<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getAverage(int)"><!-- --></A><H3>getAverage</H3><PRE>public double <B>getAverage</B>(int col)</PRE><DL><DD>returns the average of the mean at the given position, if the position is valid, otherwise 0<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setStdDev(int, int, double)"><!-- --></A><H3>setStdDev</H3><PRE>public void <B>setStdDev</B>(int col, int row, double value)</PRE><DL><DD>sets the std deviation at the given position (if the position is valid)<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>col</CODE> - the column of the std. deviation<DD><CODE>row</CODE> - the row of the std deviation<DD><CODE>value</CODE> - the value of the std deviation</DL></DD></DL><HR><A NAME="getStdDev(int, int)"><!-- --></A><H3>getStdDev</H3><PRE>public double <B>getStdDev</B>(int col, int row)</PRE><DL><DD>returns the std deviation at the given position, if the position is valid, otherwise 0<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setSignificance(int, int, int)"><!-- --></A><H3>setSignificance</H3><PRE>public void <B>setSignificance</B>(int col, int row, int value)</PRE><DL><DD>sets the significance at the given position (if the position is valid)<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>col</CODE> - the column of the significance<DD><CODE>row</CODE> - the row of the significance<DD><CODE>value</CODE> - the value of the significance</DL></DD></DL><HR><A NAME="getSignificance(int, int)"><!-- --></A><H3>getSignificance</H3><PRE>public int <B>getSignificance</B>(int col, int row)</PRE><DL><DD>returns the significance at the given position, if the position is valid, otherwise SIGNIFICANCE_ATIE<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getSignificanceCount(int, int)"><!-- --></A><H3>getSignificanceCount</H3><PRE>public int <B>getSignificanceCount</B>(int col, int type)</PRE><DL><DD>counts the occurrences of the given significance type in the given column.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>col</CODE> - the columnn to gather the information from<DD><CODE>type</CODE> - the significance type, WIN/TIE/LOSS</DL></DD></DL><HR><A NAME="setRowOrder(int[])"><!-- --></A><H3>setRowOrder</H3><PRE>public void <B>setRowOrder</B>(int[] order)</PRE><DL><DD>sets the ordering of the rows, null means default<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>order</CODE> - the new order of the rows</DL></DD></DL><HR><A NAME="getRowOrder()"><!-- --></A><H3>getRowOrder</H3><PRE>public int[] <B>getRowOrder</B>()</PRE><DL><DD>returns the current order of the rows, null means the default order<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the current order of the rows</DL></DD></DL><HR><A NAME="getDisplayRow(int)"><!-- --></A><H3>getDisplayRow</H3><PRE>public int <B>getDisplayRow</B>(int index)</PRE><DL><DD>returns the displayed index of the given row, depending on the order of rows, returns -1 if index out of bounds<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the row to get the displayed index for<DT><B>Returns:</B><DD>the real index of the row</DL></DD></DL><HR><A NAME="setColOrder(int[])"><!-- --></A><H3>setColOrder</H3><PRE>public void <B>setColOrder</B>(int[] order)</PRE><DL><DD>sets the ordering of the columns, null means default<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>order</CODE> - the new order of the columns</DL></DD></DL><HR><A NAME="getColOrder()"><!-- --></A><H3>getColOrder</H3><PRE>public int[] <B>getColOrder</B>()</PRE><DL><DD>returns the current order of the columns, null means the default order<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the current order of the columns</DL></DD></DL><HR><A NAME="getDisplayCol(int)"><!-- --></A><H3>getDisplayCol</H3><PRE>public int <B>getDisplayCol</B>(int index)</PRE><DL><DD>returns the displayed index of the given col, depending on the order of columns, returns -1 if index out of bounds<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -