Package weka.experiment
Class ResultMatrixPlainText
java.lang.Object
weka.experiment.ResultMatrix
weka.experiment.ResultMatrixPlainText
- All Implemented Interfaces:
Serializable
,RevisionHandler
This matrix is a container for the datasets and classifier setups and
their statistics. It outputs the matrix in plain text (columns).
- Version:
- $Revision: 1.8 $
- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
-
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
ConstructorsConstructorDescriptioninitializes the matrix as 1x1 matrixResultMatrixPlainText
(int cols, int rows) initializes the matrix with the given dimensionsResultMatrixPlainText
(ResultMatrix matrix) initializes the matrix with the values from the given matrix -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
removes the stored data but retains the dimensions of the matrixreturns the name of the output formatReturns the revision string.static void
for testing onlyreturns the header of the matrix as a stringreturns returns a key for all the col names, for better readability if the names got cut offreturns the matrix as plain textreturns the ranking in a string representationreturns the summary as stringMethods inherited from class weka.experiment.ResultMatrix
addHeader, assign, clearHeader, clearRanking, clearSummary, getAverage, getColCount, getColHidden, getColName, getColNameWidth, getColOrder, getCount, getCountWidth, getDisplayCol, getDisplayRow, getEnumerateColNames, getEnumerateRowNames, getHeader, getMean, getMeanPrec, getMeanWidth, getPrintColNames, getPrintRowNames, getRemoveFilterName, getRowCount, getRowHidden, getRowName, getRowNameWidth, getRowOrder, getShowAverage, getShowStdDev, getSignificance, getSignificanceCount, getSignificanceWidth, getStdDev, getStdDevPrec, getStdDevWidth, getVisibleColCount, getVisibleRowCount, headerKeys, setColHidden, setColName, setColNameWidth, setColOrder, setCount, setCountWidth, setEnumerateColNames, setEnumerateRowNames, setMean, setMeanPrec, setMeanWidth, setPrintColNames, setPrintRowNames, setRanking, setRemoveFilterName, setRowHidden, setRowName, setRowNameWidth, setRowOrder, setShowAverage, setShowStdDev, setSignificance, setSignificanceWidth, setSize, setStdDev, setStdDevPrec, setStdDevWidth, setSummary, toString
-
Constructor Details
-
ResultMatrixPlainText
public ResultMatrixPlainText()initializes the matrix as 1x1 matrix -
ResultMatrixPlainText
public ResultMatrixPlainText(int cols, int rows) initializes the matrix with the given dimensions -
ResultMatrixPlainText
initializes the matrix with the values from the given matrix- Parameters:
matrix
- the matrix to get the values from
-
-
Method Details
-
getDisplayName
returns the name of the output format- Specified by:
getDisplayName
in classResultMatrix
-
clear
public void clear()removes the stored data but retains the dimensions of the matrix- Overrides:
clear
in classResultMatrix
-
toStringHeader
returns the header of the matrix as a string- Specified by:
toStringHeader
in classResultMatrix
- See Also:
-
toStringMatrix
returns the matrix as plain text- Specified by:
toStringMatrix
in classResultMatrix
-
toStringKey
returns returns a key for all the col names, for better readability if the names got cut off- Specified by:
toStringKey
in classResultMatrix
-
toStringSummary
returns the summary as string- Specified by:
toStringSummary
in classResultMatrix
-
toStringRanking
returns the ranking in a string representation- Specified by:
toStringRanking
in classResultMatrix
-
getRevision
Returns the revision string.- Returns:
- the revision
-
main
for testing only
-