Package org.openml.weka.experiment
Interface OpenmlSplitEvaluator
-
- All Superinterfaces:
weka.core.AdditionalMeasureProducer
,weka.core.OptionHandler
,weka.core.RevisionHandler
,Serializable
,weka.experiment.SplitEvaluator
- All Known Implementing Classes:
OpenmlClassificationSplitEvaluator
,OpenmlRegressionSplitEvaluator
public interface OpenmlSplitEvaluator extends weka.experiment.SplitEvaluator, weka.core.OptionHandler, weka.core.AdditionalMeasureProducer, weka.core.RevisionHandler
-
-
Method Summary
All Methods Instance Methods Abstract 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.
-
-
-
Method Detail
-
recentPredictions
ArrayList<weka.classifiers.evaluation.Prediction> recentPredictions() throws Exception
Returns the predictions of the classifier that was called on it's predict function most recent.- Returns:
- List of predictions
- Throws:
Exception
- - no predictions available
-
getTrainedClassifier
weka.classifiers.Classifier getTrainedClassifier()
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.- Returns:
- the classifier
-
-