weka.core
Interface AdditionalMeasureProducer
- All Known Implementing Classes:
- ActiveFeatureAcquisitionCVResultProducer, ActiveLearningCurveCVResultProducer, AdditiveRegression, ADTree, AttributeSelectedClassifier, AveragingResultProducer, ClassifierSplitEvaluator, CrossValidationResultProducer, DatabaseResultProducer, DecisionTable, DedupingPRCurveCVResultProducer, DedupingPRCurveCVResultProducerSplit, EnsembleClassifier, ExtractionResultProducer, J48, JRip, LearningCurveCrossValidationResultProducer, LearningRateResultProducer, M5Base, NoiseCurveCrossValidationResultProducer, PART, RandomSplitResultProducer, RegressionSplitEvaluator, REPTree, Ridor, SemiSupCrossValidationResultProducer, SemiSupIncompleteLabelCurveCVResultProducer, SemiSupLearningCurveCVResultProducer, SemiSupPairActiveCurveCVResultProducer, SemiSupPointActiveCurveCVResultProducer
- public interface AdditionalMeasureProducer
Interface to something that can produce measures other than those
calculated by evaluation modules.
Method Summary |
java.util.Enumeration |
enumerateMeasures()
Returns an enumeration of the measure names. |
double |
getMeasure(java.lang.String measureName)
Returns the value of the named measure |
enumerateMeasures
public java.util.Enumeration enumerateMeasures()
- Returns an enumeration of the measure names. Additional measures
must follow the naming convention of starting with "measure", eg.
double measureBlah()
- Returns:
- an enumeration of the measure names
getMeasure
public double getMeasure(java.lang.String measureName)
- Returns the value of the named measure
- Parameters:
measureName
- the name of the measure to query for its value
- Returns:
- the value of the named measure
- Throws:
java.lang.IllegalArgumentException
- if the named measure is not supported