コード例 #1
0
 public AddExperiment(Experiment experiment, NetConfig config)
 {
     InitializeComponent();
     this.newExp = experiment;
     r           = new Random();
     _config     = config;
 }
コード例 #2
0
ファイル: NeuNet.cs プロジェクト: lancaxor/diploma_2015
        public NeuNet(NetConfig Config)
        {
            r           = new Random();
            learner     = new LearnDataGenerator();
            this.config = Config;
            //(100, 0.2, 0.0001);

            era     = 0;
            this.N0 = config.NumInput;
            this.N1 = config.NumHidden;
            this.N2 = config.NumOutput;

            fxHidden      = new List <int>();       //hidden layer fixed
            inputIndecies = new List <int>(N2);
        }
コード例 #3
0
        int MaxFixedCount          = 10;         // max number of fixed neurons
        //total = AttemptsOnCurrentIndex * AttemptsOnCurrentCount * MaxFixedCount times we will learn out NeuNet.

        public MainForm()
        {
            InitializeComponent();
            this.tbStatus.ScrollBars         = RichTextBoxScrollBars.ForcedHorizontal;
            this.clbExperiments.CheckOnClick = false;
            config = new NetConfig {
                maxEpoch = 3000, minError = 0.005, minErrorChange = 1E-9, NumInput = 784, NumHidden = 50, NumOutput = 10
            };
            net     = new NeuNet(config);
            exps    = new ExperimentsWorker();
            graph   = new GraphWorker();
            getData = new GetDataForAutoLearning(this.config);
            running = false;
            logger  = new Logger();
        }
コード例 #4
0
 public GetDataForAutoLearning(NetConfig config)
 {
     InitializeComponent();
     this._config = config;
 }