Package org.openml.weka.experiment
Class OpenmlRegressionSplitEvaluator
- java.lang.Object
-
- weka.experiment.RegressionSplitEvaluator
-
- org.openml.weka.experiment.OpenmlRegressionSplitEvaluator
-
- All Implemented Interfaces:
Serializable
,OpenmlSplitEvaluator
,weka.core.AdditionalMeasureProducer
,weka.core.OptionHandler
,weka.core.RevisionHandler
,weka.experiment.SplitEvaluator
public class OpenmlRegressionSplitEvaluator extends weka.experiment.RegressionSplitEvaluator implements OpenmlSplitEvaluator
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OpenmlRegressionSplitEvaluator()
-
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.RegressionSplitEvaluator
classifierTipText, enumerateMeasures, getClassifier, getKey, getKeyNames, getKeyTypes, getMeasure, getNoSizeDetermination, getOptions, getRawResultOutput, getResult, getResultNames, getResultTypes, getRevision, globalInfo, listOptions, noSizeDeterminationTipText, setAdditionalMeasures, setClassifier, setClassifierName, setNoSizeDetermination, setOptions, 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
-
-