|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweka.experiment.ResultMatrix
weka.experiment.ResultMatrixGnuPlot
public class ResultMatrixGnuPlot
This matrix is a container for the datasets and classifier setups and their statistics. It outputs the data in CSV format.
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 | |
---|---|
ResultMatrixGnuPlot()
initializes the matrix as 1x1 matrix |
|
ResultMatrixGnuPlot(int cols,
int rows)
initializes the matrix with the given dimensions |
|
ResultMatrixGnuPlot(ResultMatrix matrix)
initializes the matrix with the values from the given matrix |
Method Summary | |
---|---|
void |
clear()
removes the stored data but retains the dimensions of the matrix |
java.lang.String |
getDisplayName()
returns the name of the output format |
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 in CSV format |
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 ResultMatrixGnuPlot()
public ResultMatrixGnuPlot(int cols, int rows)
public ResultMatrixGnuPlot(ResultMatrix matrix)
matrix
- the matrix to get the values fromMethod Detail |
---|
public java.lang.String getDisplayName()
getDisplayName
in class ResultMatrix
public void clear()
clear
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 static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |