public abstract class HoldOutSubsetEvaluator extends ASEvaluation implements SubsetEvaluator
| Constructor and Description |
|---|
HoldOutSubsetEvaluator() |
| Modifier and Type | Method and Description |
|---|---|
abstract double |
evaluateSubset(java.util.BitSet subset,
Instance holdOut,
boolean retrain)
Evaluates a subset of attributes with respect to a single instance.
|
abstract double |
evaluateSubset(java.util.BitSet subset,
Instances holdOut)
Evaluates a subset of attributes with respect to a set of instances.
|
buildEvaluator, clean, doNotCheckCapabilitiesTipText, forName, getCapabilities, getDoNotCheckCapabilities, getOptions, getRevision, listOptions, makeCopies, postExecution, postProcess, preExecution, run, runEvaluator, setDoNotCheckCapabilities, setOptionsequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitevaluateSubsetmakeCopypublic abstract double evaluateSubset(java.util.BitSet subset,
Instances holdOut)
throws java.lang.Exception
subset - a bitset representing the attribute subset to be
evaluatedholdOut - a set of instances (possibly separate and distinct
from those use to build/train the evaluator) with which to
evaluate the merit of the subsetjava.lang.Exception - if the subset cannot be evaluatedpublic abstract double evaluateSubset(java.util.BitSet subset,
Instance holdOut,
boolean retrain)
throws java.lang.Exception
subset - a bitset representing the attribute subset to be
evaluatedholdOut - a single instance (possibly not one of those used to
build/train the evaluator) with which to evaluate the merit of the subsetretrain - true if the classifier should be retrained with respect
to the new subset before testing on the holdOut instance.java.lang.Exception - if the subset cannot be evaluated