Exemplo n.º 1
0
 public VSetLearningStrategy(LearningSettings lSettings)
     : base(lSettings.LearningRate, lSettings.Momentum)
 {
     this.vSetPercentage   = lSettings.ValidationSetSize;
     this.MaxBadIterations = lSettings.BadIterations;
     this.IterLimit        = lSettings.MaxIterations;
     this.MinIterations    = lSettings.MinIterations < lSettings.MaxIterations ?
                             lSettings.MinIterations : lSettings.MaxIterations;
 }
Exemplo n.º 2
0
 private LearningSettings(LearningSettings settings) : this()
 {
     ValidationSetSize  = settings.ValidationSetSize;
     MaxIterations      = settings.MaxIterations;
     BadIterations      = settings.BadIterations;
     LearningRate       = settings.LearningRate;
     Momentum           = settings.Momentum;
     Activation         = settings.Activation.Clone();
     MinIterations      = settings.MinIterations;
     HiddenNeuronCounts = settings.HiddenNeuronCounts.ToList();
 }
Exemplo n.º 3
0
        public LearningSettings Clone()
        {
            LearningSettings clone = new LearningSettings(this);

            return(clone);
        }