Пример #1
0
        private void Setup()
        {
            try
            {
                backPropComp = NinjectBinding.GetKernel.Get <BackPropagation>();
                config       = NinjectBinding.GetKernel.Get <ConfigurationFile>();

                momentumNumericUpDown.Value     = Convert.ToDecimal(backPropComp.Beta);
                learningRateNumericUpDown.Value = Convert.ToDecimal(backPropComp.LearningRate);
            }
            catch (Exception exception)
            {
                ExceptionManager.LogAndShowException(exception, "Error", logger);
            }
        }
Пример #2
0
 public void SetData(BackPropagation obj)
 {
     this.Beta         = obj.Beta;
     this.LearningRate = obj.LearningRate;
 }