Package org.openml.weka.experiment
Class OpenmlClassificationSplitEvaluator
- java.lang.Object
-
- weka.experiment.ClassifierSplitEvaluator
-
- org.openml.weka.experiment.OpenmlClassificationSplitEvaluator
-
- All Implemented Interfaces:
Serializable
,OpenmlSplitEvaluator
,weka.core.AdditionalMeasureProducer
,weka.core.OptionHandler
,weka.core.RevisionHandler
,weka.experiment.SplitEvaluator
public class OpenmlClassificationSplitEvaluator extends weka.experiment.ClassifierSplitEvaluator implements OpenmlSplitEvaluator
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OpenmlClassificationSplitEvaluator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description weka.classifiers.Classifier
getTrainedClassifier()
Returns the classifier that was trained most recent.ArrayList<weka.classifiers.evaluation.Prediction>
recentPredictions()
Returns the predictions of the classifier that was called on it's predict function most recent.-
Methods inherited from class weka.experiment.ClassifierSplitEvaluator
classifierTipText, enumerateMeasures, getAttributeID, getClassForIRStatistics, getClassifier, getKey, getKeyNames, getKeyTypes, getMeasure, getNoSizeDetermination, getOptions, getPredTargetColumn, getRawResultOutput, getResult, getResultNames, getResultTypes, getRevision, globalInfo, listOptions, noSizeDeterminationTipText, setAdditionalMeasures, setAttributeID, setClassForIRStatistics, setClassifier, setClassifierName, setNoSizeDetermination, setOptions, setPredTargetColumn, toString, updateOptions
-
-
-
-
Method Detail
-
recentPredictions
public ArrayList<weka.classifiers.evaluation.Prediction> recentPredictions() throws Exception
Description copied from interface:OpenmlSplitEvaluator
Returns the predictions of the classifier that was called on it's predict function most recent.- Specified by:
recentPredictions
in interfaceOpenmlSplitEvaluator
- Returns:
- List of predictions
- Throws:
Exception
- - no predictions available
-
getTrainedClassifier
public weka.classifiers.Classifier getTrainedClassifier()
Description copied from interface:OpenmlSplitEvaluator
Returns the classifier that was trained most recent. Useful for trace operations. Note that this has different functionality than the native getClassifier function, which returns an untrained classifier.- Specified by:
getTrainedClassifier
in interfaceOpenmlSplitEvaluator
- Returns:
- the classifier
-
-