|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweka.experiment.ResultMatrix
weka.experiment.ResultMatrixPlainText
public class ResultMatrixPlainText
Generates the output as plain text (for fixed width fonts).
Valid options are:-mean-prec <int> The number of decimals after the decimal point for the mean. (default: 2)
-stddev-prec <int> The number of decimals after the decimal point for the mean. (default: 2)
-col-name-width <int> The maximum width for the column names (0 = optimal). (default: 0)
-row-name-width <int> The maximum width for the row names (0 = optimal). (default: 25)
-mean-width <int> The width of the mean (0 = optimal). (default: 0)
-stddev-width <int> The width of the standard deviation (0 = optimal). (default: 0)
-sig-width <int> The width of the significance indicator (0 = optimal). (default: 0)
-count-width <int> The width of the counts (0 = optimal). (default: 5)
-show-stddev Whether to display the standard deviation column. (default: no)
-show-avg Whether to show the row with averages. (default: no)
-remove-filter Whether to remove the classname package prefixes from the filter names in datasets. (default: no)
-print-col-names Whether to output column names or just numbers representing them. (default: no)
-print-row-names Whether to output row names or just numbers representing them. (default: no)
-enum-col-names Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index). (default: no)
-enum-row-names Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index). (default: no)
Field Summary |
---|
Fields inherited from class weka.experiment.ResultMatrix |
---|
LEFT_PARENTHESES, LOSS_STRING, RIGHT_PARENTHESES, SIGNIFICANCE_LOSS, SIGNIFICANCE_TIE, SIGNIFICANCE_WIN, TIE_STRING, WIN_STRING |
Constructor Summary | |
---|---|
ResultMatrixPlainText()
initializes the matrix as 1x1 matrix. |
|
ResultMatrixPlainText(int cols,
int rows)
initializes the matrix with the given dimensions. |
|
ResultMatrixPlainText(ResultMatrix matrix)
initializes the matrix with the values from the given matrix. |
Method Summary | |
---|---|
int |
getDefaultCountWidth()
returns the default width for the counts. |
int |
getDefaultRowNameWidth()
returns the default width for the row names. |
java.lang.String |
getDisplayName()
returns the name of the output format. |
java.lang.String |
getRevision()
Returns the revision string. |
java.lang.String |
globalInfo()
Returns a string describing the matrix. |
static void |
main(java.lang.String[] args)
for testing only. |
java.lang.String |
toStringHeader()
returns the header of the matrix as a string. |
java.lang.String |
toStringKey()
returns returns a key for all the col names, for better readability if the names got cut off. |
java.lang.String |
toStringMatrix()
returns the matrix as plain text. |
java.lang.String |
toStringRanking()
returns the ranking in a string representation. |
java.lang.String |
toStringSummary()
returns the summary as string. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ResultMatrixPlainText()
public ResultMatrixPlainText(int cols, int rows)
cols
- the number of columnsrows
- the number of rowspublic ResultMatrixPlainText(ResultMatrix matrix)
matrix
- the matrix to get the values fromMethod Detail |
---|
public java.lang.String globalInfo()
globalInfo
in class ResultMatrix
public java.lang.String getDisplayName()
getDisplayName
in class ResultMatrix
public int getDefaultRowNameWidth()
getDefaultRowNameWidth
in class ResultMatrix
public int getDefaultCountWidth()
getDefaultCountWidth
in class ResultMatrix
public java.lang.String toStringHeader()
toStringHeader
in class ResultMatrix
ResultMatrix.m_HeaderKeys
,
ResultMatrix.m_HeaderValues
public java.lang.String toStringMatrix()
toStringMatrix
in class ResultMatrix
public java.lang.String toStringKey()
toStringKey
in class ResultMatrix
public java.lang.String toStringSummary()
toStringSummary
in class ResultMatrix
public java.lang.String toStringRanking()
toStringRanking
in class ResultMatrix
public java.lang.String getRevision()
public static void main(java.lang.String[] args)
args
- ignored
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |