程序包 weka.experiment

类 ResultMatrixCSV

java.lang.Object
weka.experiment.ResultMatrix
weka.experiment.ResultMatrixCSV
所有已实现的接口:
Serializable, RevisionHandler

public class ResultMatrixCSV extends ResultMatrix
This matrix is a container for the datasets and classifier setups and their statistics. It outputs the data in CSV format.
版本:
$Revision: 1.4 $
作者:
FracPete (fracpete at waikato dot ac dot nz)
另请参阅:
  • 构造器详细资料

    • ResultMatrixCSV

      public ResultMatrixCSV()
      initializes the matrix as 1x1 matrix
    • ResultMatrixCSV

      public ResultMatrixCSV(int cols, int rows)
      initializes the matrix with the given dimensions
    • ResultMatrixCSV

      public ResultMatrixCSV(ResultMatrix matrix)
      initializes the matrix with the values from the given matrix
      参数:
      matrix - the matrix to get the values from
  • 方法详细资料

    • getDisplayName

      public String getDisplayName()
      returns the name of the output format
      指定者:
      getDisplayName 在类中 ResultMatrix
    • clear

      public void clear()
      removes the stored data but retains the dimensions of the matrix
      覆盖:
      clear 在类中 ResultMatrix
    • toStringHeader

      public String toStringHeader()
      returns the header of the matrix as a string
      指定者:
      toStringHeader 在类中 ResultMatrix
      另请参阅:
      • ResultMatrix.m_HeaderKeys
      • ResultMatrix.m_HeaderValues
    • toStringMatrix

      public String toStringMatrix()
      returns the matrix in CSV format
      指定者:
      toStringMatrix 在类中 ResultMatrix
    • toStringKey

      public String toStringKey()
      returns returns a key for all the col names, for better readability if the names got cut off
      指定者:
      toStringKey 在类中 ResultMatrix
    • toStringSummary

      public String toStringSummary()
      returns the summary as string
      指定者:
      toStringSummary 在类中 ResultMatrix
    • toStringRanking

      public String toStringRanking()
      returns the ranking in a string representation
      指定者:
      toStringRanking 在类中 ResultMatrix
    • getRevision

      public String getRevision()
      Returns the revision string.
      返回:
      the revision
    • main

      public static void main(String[] args)
      for testing only