示例#1
0
        private void InitializeNN(List <Tuple <int, NeuronType> > layout)
        {
            _nn = new FFNeuralNetwork(new Random());
            _nn.Initialize(layout);
            NNVis.Initialize(_nn);

            NN_Export_btn.IsEnabled = true;
            NN_toolBar.IsEnabled    = true;
        }
示例#2
0
        private void InitializeNN(JObject jnn)
        {
            _nn = new FFNeuralNetwork(new Random());
            if (!_nn.Initialize(jnn))
            {
                _nn = null;
                return;
            }

            NNVis.Initialize(_nn);

            NN_Export_btn.IsEnabled = true;
            NN_toolBar.IsEnabled    = true;
        }