private void button3_Click(object sender, EventArgs e) { IOF.Read_Weight(); Neuron.Weight_(IOF.Get_Weight()); bool f = true; Neuron.Training(f, this); }
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); } }
//Проверить private void button4_Click(object sender, EventArgs e) { IOF.Read_Weight(); Neuron.Weight_(IOF.Get_Weight()); Neuron.Count_weight(this); }
//True private void button1_Click(object sender, EventArgs e) { IOF.Save_Weight(); label2.Text = "Запись"; }