|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectweka.associations.AssociatorEvaluation
public class AssociatorEvaluation
Class for evaluating Associaters.
| Constructor Summary | |
|---|---|
AssociatorEvaluation()
default constructor |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Tests whether the current evaluation object is equal to another evaluation object |
java.lang.String |
evaluate(Associator associator,
Instances data)
Evaluates the associator with the given commandline options and returns the evaluation string. |
static java.lang.String |
evaluate(Associator associator,
java.lang.String[] options)
Evaluates the associator with the given commandline options and returns the evaluation string. |
static java.lang.String |
evaluate(java.lang.String associatorString,
java.lang.String[] options)
Evaluates an associator with the options given in an array of strings. |
java.lang.String |
getRevision()
Returns the revision string. |
static void |
main(java.lang.String[] args)
A test method for this class. |
java.lang.String |
toString()
returns the current result |
java.lang.String |
toSummaryString()
returns a summary string of the evaluation with a no title |
java.lang.String |
toSummaryString(java.lang.String title)
returns a summary string of the evaluation with a default title |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AssociatorEvaluation()
| Method Detail |
|---|
public static java.lang.String evaluate(java.lang.String associatorString,
java.lang.String[] options)
throws java.lang.Exception
associatorString - class of associator as a stringoptions - the array of string containing the options
java.lang.Exception - if model could not be evaluated successfully
public static java.lang.String evaluate(Associator associator,
java.lang.String[] options)
throws java.lang.Exception
associator - the Associator to evaluateoptions - the commandline options
java.lang.Exception - if evaluation fails
public java.lang.String evaluate(Associator associator,
Instances data)
throws java.lang.Exception
associator - the Associator to evaluatedata - the data to run the associator with
java.lang.Exception - if evaluation failspublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the object to compare against
public java.lang.String toSummaryString()
public java.lang.String toSummaryString(java.lang.String title)
title - the title to print before the result
public java.lang.String toString()
toString in class java.lang.ObjecttoSummaryString()public java.lang.String getRevision()
getRevision in interface RevisionHandlerpublic static void main(java.lang.String[] args)
args - an array of command line arguments, the first of which
must be the class name of an associator.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||