|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface to objects able to generate a fixed set of results for a particular split of a dataset. The set of results should contain fields related to any settings of the SplitEvaluator (not including the dataset name. For example, one field for the classifier used to get the results, another for the classifier options, etc).
Possible implementations of SplitEvaluator:
Method Summary | |
java.lang.Object[] |
getKey()
Gets the key describing the current SplitEvaluator. |
java.lang.String[] |
getKeyNames()
Gets the names of each of the key columns produced for a single run. |
java.lang.Object[] |
getKeyTypes()
Gets the data types of each of the key columns produced for a single run. |
java.lang.String |
getRawResultOutput()
Returns the raw output for the most recent call to getResult. |
java.lang.Object[] |
getResult(Instances train,
Instances test)
Gets the results for the supplied train and test datasets. |
java.lang.String[] |
getResultNames()
Gets the names of each of the result columns produced for a single run. |
java.lang.Object[] |
getResultTypes()
Gets the data types of each of the result columns produced for a single run. |
void |
setAdditionalMeasures(java.lang.String[] additionalMeasures)
Sets a list of method names for additional measures to look for in SplitEvaluators. |
Method Detail |
public void setAdditionalMeasures(java.lang.String[] additionalMeasures)
additionalMeasures
- a list of method namespublic java.lang.String[] getKeyNames()
public java.lang.Object[] getKeyTypes()
public java.lang.String[] getResultNames()
public java.lang.Object[] getResultTypes()
public java.lang.Object[] getKey()
public java.lang.Object[] getResult(Instances train, Instances test) throws java.lang.Exception
train
- the training Instances.test
- the testing Instances.
java.lang.Exception
- if a problem occurs while getting the resultspublic java.lang.String getRawResultOutput()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2003 David Lindsay, Computer Learning Research Centre, Dept. Computer Science, Royal Holloway, University of London