TrainAdaline
org.encog.neural.networks.training.simple

Class TrainAdaline

    • Constructor Detail

      • TrainAdaline

        public TrainAdaline(BasicNetwork network,            MLDataSet training,            double learningRate)
        Construct an ADALINE trainer.
        Parameters:
        network - The network to train.
        training - The training data.
        learningRate - The learning rate.
    • Method Detail

      • canContinue

        public boolean canContinue()
        Specified by:
        canContinue in interface MLTrain
        Returns:
        True if the training can be paused, and later continued.
      • getMethod

        public MLMethod getMethod()
        Get the current best machine learning method from the training.
        Specified by:
        getMethod in interface MLTrain
        Returns:
        The best machine learningm method.
      • iteration

        public void iteration()
        Perform one iteration of training.
        Specified by:
        iteration in interface MLTrain
      • resume

        public void resume(TrainingContinuation state)
        Resume training.
        Specified by:
        resume in interface MLTrain
        Parameters:
        state - The training continuation object to use to continue.
      • setLearningRate

        public void setLearningRate(double rate)
        Set the learning rate.
        Specified by:
        setLearningRate in interface LearningRate
        Parameters:
        rate - The new learning rate.

SCaVis 2.0 © jWork.ORG