Documentation of 'org.neuroph.contrib.autotrain.AutoTrainer' Java class
AutoTrainer
org.neuroph.contrib.autotrain

Class AutoTrainer



  • public class AutoTrainer
    extends java.lang.Object
    • Constructor Detail

      • AutoTrainer

        public AutoTrainer()
      • AutoTrainer

        public AutoTrainer(double maxError,
                           int maxIterations)
    • Method Detail

      • getResults

        public java.util.List<TrainingResult> getResults()
        Get results.
        Returns:
        List of TrainingResult. If nothing was trained, method returns empty ArrayList().
      • setHiddenNeurons

        public AutoTrainer setHiddenNeurons(int minHiddenNeurons,
                                            int maxHiddenNeurons,
                                            int step)
        Set range for hidden neurons of neural network. Auto trainer is looping through that range with increment equals to step.
        Parameters:
        range - given for hidden neurons
      • setHiddenNeurons

        public AutoTrainer setHiddenNeurons(int minHiddenNeurons,
                                            int maxHiddenNeurons)
        Set range for hidden neurons of neural network. Auto trainer is looping through that range.
        Parameters:
        range - given for hidden neurons
      • setHiddenNeurons

        public AutoTrainer setHiddenNeurons(Range range,
                                            int step)
        Set range for hidden neurons of neural network. Auto trainer is looping through that range with increment equals to step.
        Parameters:
        range - given for hidden neurons
      • setHiddenNeurons

        public AutoTrainer setHiddenNeurons(Range range)
        Set range for hidden neurons of neural network. Auto trainer is looping through that range.
        Parameters:
        range - given for hidden neurons
      • setMaxError

        public AutoTrainer setMaxError(double maxErrorMin,
                                       double maxErrorMax,
                                       double step)
        Set range for maximum error of neural network. Auto trainer is looping through that range with increment equals to step.
        Parameters:
        range - given for hidden neurons
      • setMaxError

        public AutoTrainer setMaxError(double maxErrorMin,
                                       double maxErrorMax)
        Set range for maximum error of neural network. Auto trainer is looping through that range.
        Parameters:
        range - given for hidden neurons
      • setMaxError

        public AutoTrainer setMaxError(Range range,
                                       double step)
        Set range for maximum error of neural network. Auto trainer is looping through that range with increment equals to step.
        Parameters:
        range - given for hidden neurons
      • setMaxError

        public AutoTrainer setMaxError(Range range)
        Set range for maximum error of neural network. Auto trainer is looping through that range.
        Parameters:
        range - given for hidden neurons
      • setLearningRate

        public AutoTrainer setLearningRate(double minLearningRate,
                                           double maxLearningRate,
                                           double step)
        Set range for learning rate of neural network. Auto trainer is looping through that range with increment equals to step.
        Parameters:
        range - given for learning rate
      • setLearningRate

        public AutoTrainer setLearningRate(double minLearningRate,
                                           double maxLearningRate)
        Set range for learning rate of neural network. Auto trainer is looping through that range.
        Parameters:
        range - given for learning rate
      • setLearningRate

        public AutoTrainer setLearningRate(Range range,
                                           double step)
        Set range for learning rate of neural network. Auto trainer is looping through that range with increment equals to step.
        Parameters:
        range - given for learning rate
      • setLearningRate

        public AutoTrainer setLearningRate(Range range)
        Set range for learning rate of neural network. Auto trainer is looping through that range.
        Parameters:
        range - given for learning rate
      • getMaxIterations

        public int getMaxIterations()
      • setMaxIterations

        public AutoTrainer setMaxIterations(int maxIterations)
      • setMaxMomentum

        public void setMaxMomentum(double maxMomentum)
        Parameters:
        maxMomentum -
      • repeat

        public AutoTrainer repeat(int times)
        Repeat neural network with same parameters specified number of times and create statistic.
        Parameters:
        times - to repeat network
      • setTrainTestSplit

        public AutoTrainer setTrainTestSplit(int trainingPrecent)
        Set percentage of training set (in percents).
        Parameters:
        trainingPrecent - new value of splitPercentage
      • train

        public void train(DataSet dataSet)
        You can get results calling getResults() method.
        Parameters:
        neuralNetwork - type of neural net
        dataSet -

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.