public interface SplitEvaluator extends Serializable
Possible implementations of SplitEvaluator:
Modifier and Type | Method and Description |
---|---|
Object[] |
getKey()
Gets the key describing the current SplitEvaluator.
|
String[] |
getKeyNames()
Gets the names of each of the key columns produced for a single run.
|
Object[] |
getKeyTypes()
Gets the data types of each of the key columns produced for a single run.
|
String |
getRawResultOutput()
Returns the raw output for the most recent call to getResult.
|
Object[] |
getResult(Instances train,
Instances test)
Gets the results for the supplied train and test datasets.
|
String[] |
getResultNames()
Gets the names of each of the result columns produced for a single run.
|
Object[] |
getResultTypes()
Gets the data types of each of the result columns produced for a
single run.
|
void |
setAdditionalMeasures(String[] additionalMeasures)
Sets a list of method names for additional measures to look for
in SplitEvaluators.
|
void setAdditionalMeasures(String[] additionalMeasures)
additionalMeasures
- a list of method namesString[] getKeyNames()
Object[] getKeyTypes()
String[] getResultNames()
Object[] getResultTypes()
Object[] getKey()
Object[] getResult(Instances train, Instances test) throws Exception
train
- the training Instances.test
- the testing Instances.Exception
- if a problem occurs while getting the resultsString getRawResultOutput()
Copyright © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.