程序包 weka.experiment

类 ResultMatrixPlainText

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

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

    • ResultMatrixPlainText

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

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

      public ResultMatrixPlainText(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 as plain text
      指定者:
      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