InputType
- The type of input data in the input-output pair that
the learner can learn from. The Evaluator
learned from the
algorithm also takes this as the input parameter.OutputType
- The type of output data in the input-output pair that
the learner can learn from. The Evaluator
learned from the
algorithm also produces this as its output.ResultType
- The type of object created by the learning algorithm.
For example, a FeedforwardNeuralNetwork
.@CodeReview(reviewer="Kevin R. Dixon", date="2008-07-22", changesNeeded=false, comments={"Reformatted the rather long class-generic parameterization.","Code looks fine."}) public abstract class AbstractAnytimeSupervisedBatchLearner<InputType,OutputType,ResultType extends Evaluator<? super InputType,? extends OutputType>> extends AbstractAnytimeBatchLearner<java.util.Collection<? extends InputOutputPair<? extends InputType,OutputType>>,ResultType> implements SupervisedBatchLearner<InputType,OutputType,ResultType>
AbstractAnytimeSupervisedBatchLearner
abstract class extends
the AbstractAnytimeBatchLearner
to implement the
SupervisedBatchLearner
interface. It does this to simplify the use
of the standard generics that a batch supervised learning algorithm uses.BatchLearner
,
AnytimeAlgorithm
,
SupervisedBatchLearner
,
Serialized Formdata, keepGoing
maxIterations
DEFAULT_ITERATION, iteration
Constructor and Description |
---|
AbstractAnytimeSupervisedBatchLearner(int maxIterations)
Creates a new instance of
AbstractAnytimeSupervisedBatchLearner . |
cleanupAlgorithm, clone, getData, getKeepGoing, initializeAlgorithm, learn, setData, setKeepGoing, step, stop
getMaxIterations, isResultValid, setMaxIterations
addIterativeAlgorithmListener, fireAlgorithmEnded, fireAlgorithmStarted, fireStepEnded, fireStepStarted, getIteration, getListeners, removeIterativeAlgorithmListener, setIteration, setListeners
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
learn
clone
getMaxIterations, getResult, setMaxIterations
addIterativeAlgorithmListener, getIteration, removeIterativeAlgorithmListener
isResultValid