|
||||||||||
| 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(Object obj)
Tests whether the current evaluation object is equal to another evaluation object |
String |
evaluate(Associator associator,
Instances data)
Evaluates the associator with the given commandline options and returns the evaluation string. |
static String |
evaluate(Associator associator,
String[] options)
Evaluates the associator with the given commandline options and returns the evaluation string. |
static String |
evaluate(String associatorString,
String[] options)
Evaluates an associator with the options given in an array of strings. |
String |
getRevision()
Returns the revision string. |
static void |
main(String[] args)
A test method for this class. |
String |
toString()
returns the current result |
String |
toSummaryString()
returns a summary string of the evaluation with a no title |
String |
toSummaryString(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 String evaluate(String associatorString,
String[] options)
throws Exception
associatorString - class of associator as a stringoptions - the array of string containing the options
Exception - if model could not be evaluated successfully
public static String evaluate(Associator associator,
String[] options)
throws Exception
associator - the Associator to evaluateoptions - the commandline options
Exception - if evaluation fails
public String evaluate(Associator associator,
Instances data)
throws Exception
associator - the Associator to evaluatedata - the data to run the associator with
Exception - if evaluation failspublic boolean equals(Object obj)
equals in class Objectobj - the object to compare against
public String toSummaryString()
public String toSummaryString(String title)
title - the title to print before the result
public String toString()
toString in class ObjecttoSummaryString()public String getRevision()
getRevision in interface RevisionHandlerpublic static void main(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 | |||||||||