InputType - The type of the input data for supervised learning.OutputType - The type of the output data for supervised learning.StatisticType - The type of the statistic generated by the
performance evaluator on the learned object for each fold. It is
created by passing the learned object plus the test data for the
fold into the performance evaluator.SummaryType - The type produced by the summarizer at the end of
the experiment from a collection of the given statistics (one for
each fold). This represents the performance result for the learning
algorithm for the whole experiment.public class SupervisedLearnerValidationExperiment<InputType,OutputType,StatisticType,SummaryType> extends LearnerValidationExperiment<InputOutputPair<InputType,OutputType>,InputOutputPair<InputType,OutputType>,Evaluator<? super InputType,OutputType>,StatisticType,SummaryType>
SupervisedLearnerValidationExperiment class extends the
LearnerValidationExperiment class to provide a easy way to create
a learner validation experiment for supervised learning.performanceEvaluator, statistics, summarizer, summaryfoldCreator, numTrialslisteners| Constructor and Description |
|---|
SupervisedLearnerValidationExperiment()
Creates a new instance of
SupervisedLearnerValidationExperiment. |
SupervisedLearnerValidationExperiment(ValidationFoldCreator<InputOutputPair<InputType,OutputType>,InputOutputPair<InputType,OutputType>> foldCreator,
PerformanceEvaluator<? super Evaluator<? super InputType,? extends OutputType>,? super java.util.Collection<? extends InputOutputPair<InputType,OutputType>>,? extends StatisticType> performanceEvaluator,
Summarizer<? super StatisticType,? extends SummaryType> summarizer)
Creates a new instance of
SupervisedLearnerValidationExperiment. |
evaluate, evaluatePerformance, getLearner, getPerformanceEvaluator, getStatistics, getSummarizer, getSummary, runTrial, setLearner, setPerformanceEvaluator, setStatistics, setSummarizer, setSummarygetFoldCreator, getNumTrials, runExperiment, setFoldCreator, setNumTrialsaddListener, fireExperimentEnded, fireExperimentStarted, fireTrialEnded, fireTrialStarted, getListeners, removeListener, setListenersclonepublic SupervisedLearnerValidationExperiment()
SupervisedLearnerValidationExperiment.public SupervisedLearnerValidationExperiment(ValidationFoldCreator<InputOutputPair<InputType,OutputType>,InputOutputPair<InputType,OutputType>> foldCreator, PerformanceEvaluator<? super Evaluator<? super InputType,? extends OutputType>,? super java.util.Collection<? extends InputOutputPair<InputType,OutputType>>,? extends StatisticType> performanceEvaluator, Summarizer<? super StatisticType,? extends SummaryType> summarizer)
SupervisedLearnerValidationExperiment.foldCreator - The object to use for creating the folds.performanceEvaluator - The evaluator to use to compute the
performance of the learned object on each fold.summarizer - The summarizer for summarizing the result of the
performance evaluator from all the folds.