Package weka.experiment
Class ResultMatrixSignificance
- java.lang.Object
-
- weka.experiment.ResultMatrix
-
- weka.experiment.ResultMatrixSignificance
-
- All Implemented Interfaces:
java.io.Serializable
,RevisionHandler
public class ResultMatrixSignificance extends ResultMatrix
This matrix is a container for the datasets and classifier setups and their statistics. It outputs only the significance indicators - sometimes good for recognizing patterns.- Version:
- $Revision: 1.5 $
- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
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
Constructors Constructor Description ResultMatrixSignificance()
initializes the matrix as 1x1 matrixResultMatrixSignificance(int cols, int rows)
initializes the matrix with the given dimensionsResultMatrixSignificance(ResultMatrix matrix)
initializes the matrix with the values from the given matrix
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
removes the stored data but retains the dimensions of the matrixjava.lang.String
getDisplayName()
returns the name of the output formatjava.lang.String
getRevision()
Returns the revision string.static void
main(java.lang.String[] args)
for testing onlyvoid
setShowStdDev(boolean show)
sets whether to display the std deviations or not - always false!java.lang.String
toStringHeader()
returns the header of the matrix as a stringjava.lang.String
toStringKey()
returns returns a key for all the col names, for better readability if the names got cut offjava.lang.String
toStringMatrix()
returns the matrix as plain textjava.lang.String
toStringRanking()
returns the ranking in a string representationjava.lang.String
toStringSummary()
returns the summary as string-
Methods 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, setSignificance, setSignificanceWidth, setSize, setStdDev, setStdDevPrec, setStdDevWidth, setSummary, toString
-
-
-
-
Constructor Detail
-
ResultMatrixSignificance
public ResultMatrixSignificance()
initializes the matrix as 1x1 matrix
-
ResultMatrixSignificance
public ResultMatrixSignificance(int cols, int rows)
initializes the matrix with the given dimensions
-
ResultMatrixSignificance
public ResultMatrixSignificance(ResultMatrix matrix)
initializes the matrix with the values from the given matrix- Parameters:
matrix
- the matrix to get the values from
-
-
Method Detail
-
getDisplayName
public java.lang.String 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
-
setShowStdDev
public void setShowStdDev(boolean show)
sets whether to display the std deviations or not - always false!- Overrides:
setShowStdDev
in classResultMatrix
-
toStringMatrix
public java.lang.String toStringMatrix()
returns the matrix as plain text- Specified by:
toStringMatrix
in classResultMatrix
-
toStringHeader
public java.lang.String toStringHeader()
returns the header of the matrix as a string- Specified by:
toStringHeader
in classResultMatrix
- See Also:
ResultMatrix.m_HeaderKeys
,ResultMatrix.m_HeaderValues
-
toStringKey
public java.lang.String 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
public java.lang.String toStringSummary()
returns the summary as string- Specified by:
toStringSummary
in classResultMatrix
-
toStringRanking
public java.lang.String toStringRanking()
returns the ranking in a string representation- Specified by:
toStringRanking
in classResultMatrix
-
getRevision
public java.lang.String getRevision()
Returns the revision string.- Returns:
- the revision
-
main
public static void main(java.lang.String[] args)
for testing only
-
-