public interface SplitEvaluator
extends java.io.Serializable
Possible implementations of SplitEvaluator:
Modifier and Type | Method and Description |
---|---|
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.
|
void setAdditionalMeasures(java.lang.String[] additionalMeasures)
additionalMeasures
- a list of method namesjava.lang.String[] getKeyNames()
java.lang.Object[] getKeyTypes()
java.lang.String[] getResultNames()
java.lang.Object[] getResultTypes()
java.lang.Object[] getKey()
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 resultsjava.lang.String getRawResultOutput()