类 AssociatorEvaluation
java.lang.Object
weka.associations.AssociatorEvaluation
- 所有已实现的接口:
RevisionHandler
Class for evaluating Associaters.
- 版本:
- $Revision: 1.5 $
- 作者:
- fracpete (fracpete at waikato dot ac dot nz)
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明boolean
Tests whether the current evaluation object is equal to another evaluation objectstatic String
Evaluates an associator with the options given in an array of strings.static String
evaluate
(Associator associator, String[] options) Evaluates the associator with the given commandline options and returns the evaluation string.evaluate
(Associator associator, Instances data) Evaluates the associator with the given commandline options and returns the evaluation string.Returns the revision string.static void
A test method for this class.toString()
returns the current resultreturns a summary string of the evaluation with a no titletoSummaryString
(String title) returns a summary string of the evaluation with a default title
-
构造器详细资料
-
AssociatorEvaluation
public AssociatorEvaluation()default constructor
-
-
方法详细资料
-
evaluate
Evaluates an associator with the options given in an array of strings.- 参数:
associatorString
- class of associator as a stringoptions
- the array of string containing the options- 返回:
- a string describing the results
- 抛出:
Exception
- if model could not be evaluated successfully
-
evaluate
Evaluates the associator with the given commandline options and returns the evaluation string.- 参数:
associator
- the Associator to evaluateoptions
- the commandline options- 返回:
- the generated output string
- 抛出:
Exception
- if evaluation fails
-
evaluate
Evaluates the associator with the given commandline options and returns the evaluation string.- 参数:
associator
- the Associator to evaluatedata
- the data to run the associator with- 返回:
- the generated output string
- 抛出:
Exception
- if evaluation fails
-
equals
Tests whether the current evaluation object is equal to another evaluation object -
toSummaryString
returns a summary string of the evaluation with a no title- 返回:
- the summary string
-
toSummaryString
returns a summary string of the evaluation with a default title- 参数:
title
- the title to print before the result- 返回:
- the summary string
-
toString
returns the current result -
getRevision
Returns the revision string.- 指定者:
getRevision
在接口中RevisionHandler
- 返回:
- the revision
-
main
A test method for this class. Just extracts the first command line argument as an associator class name and calls evaluate.- 参数:
args
- an array of command line arguments, the first of which must be the class name of an associator.
-