Пример #1
0
        private void btnLearning_Click(object sender, EventArgs e)
        {
            List <Bitmap> images = new List <Bitmap>();
            List <int>    values = new List <int>();

            images.Add(new Bitmap(first.Image));
            images.Add(new Bitmap(second.Image));
            images.Add(new Bitmap(third.Image));
            images.Add(new Bitmap(fourth.Image));
            images.Add(new Bitmap(fifth.Image));
            neuron = new Perceptron(images);

            neuron.Learn();

            resultClass.Text = "Learnt";
        }