예제 #1
0
        private void button3_Click(object sender, EventArgs e)
        {
            IOF.Read_Weight();
            Neuron.Weight_(IOF.Get_Weight());
            bool f = true;

            Neuron.Training(f, this);
        }
예제 #2
0
 private void открытьToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (openFileDialog1.ShowDialog() == DialogResult.OK)
     {
         Bitmap image = new Bitmap(openFileDialog1.FileName);
         pictureBox1.Image = image;
         Image.Init(image);
         Occasion.Init_OccasionOprnFileDialog(true);
         Neuron.Init(Image.GetArrayPixel(), Image.Get_Widht(), Image.Get_Height());
         Neuron.Init_Weight(Image.Get_Height() * Image.Get_Widht());
         IOF.Read_Weight();
         Neuron.Weight_(IOF.Get_Weight());
         Neuron.Init_bias(7);
     }
 }
예제 #3
0
 //Проверить
 private void button4_Click(object sender, EventArgs e)
 {
     IOF.Read_Weight();
     Neuron.Weight_(IOF.Get_Weight());
     Neuron.Count_weight(this);
 }
예제 #4
0
 //True
 private void button1_Click(object sender, EventArgs e)
 {
     IOF.Save_Weight();
     label2.Text = "Запись";
 }