gov.sandia.cognition.learning.experiment
Interface LearningExperiment

All Known Implementing Classes:
AbstractLearningExperiment, AbstractValidationFoldExperiment, LearnerComparisonExperiment, LearnerRepeatExperiment, LearnerValidationExperiment, OnlineLearnerValidationExperiment, ParallelLearnerValidationExperiment, SupervisedLearnerComparisonExperiment, SupervisedLearnerValidationExperiment

public interface LearningExperiment

The LearningExperiment interface defines the general functionality of an object that implements an experiment regarding machine learning algorithms. It defines listeners plus a method for getting the number of trials in an experiment.

Since:
2.0
Author:
Justin Basilico

Method Summary
 void addListener(LearningExperimentListener listener)
          Adds the given listener to this object.
 int getNumTrials()
          Gets the number of trials in the experiment.
 void removeListener(LearningExperimentListener listener)
          Removes the given listener from this object.
 

Method Detail

addListener

void addListener(LearningExperimentListener listener)
Adds the given listener to this object.

Parameters:
listener - The listener to add.

removeListener

void removeListener(LearningExperimentListener listener)
Removes the given listener from this object.

Parameters:
listener - The listener to remove.

getNumTrials

int getNumTrials()
Gets the number of trials in the experiment.

Returns:
The number of trials in the experiment.