Exemple #1
0
 private void buttonLoadNeuronet_Click(object sender, EventArgs e)
 {
     try {
         if (openFileDialog1.ShowDialog() == System.Windows.Forms.DialogResult.OK)
         {
             _neuro = NeuroNetFullyConnected.load(openFileDialog1.FileName);
         }
     } catch (Exception exception) {
         MessageBox.Show(exception.Message);
     }
 }
Exemple #2
0
 private void buttonCreateNewNeuronet_Click(object sender, EventArgs e)
 {
     try {
         double learnRate  = Double.Parse(textBoxLearnRate.Text);
         double learnInert = Double.Parse(textBoxLearnInert.Text);
         double learnL2    = Double.Parse(textBoxLearnL2.Text);
         _neuro = new NeuroNetFullyConnected(new LayerInput(8));
     } catch (Exception ex) {
         MessageBox.Show(ex.Message);
     }
 }