Exemple #1
0
        private void cтеклоToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Filters filter = new Glass();

            backgroundWorker1.RunWorkerAsync(filter);
            images.Push(image);
        }
Exemple #2
0
        private void Form1_Load(object sender, EventArgs e)
        {
            Glass g = new Glass();

            g.antalKulor = 3;
            g.behållare  = "Rån";
        }
Exemple #3
0
        private void button3_Click(object sender, EventArgs e)
        {
            Glass newGlass     = new Glass(-1, (double)riNum.Value, (double)naNum.Value, (double)mgNum.Value, (double)alNum.Value, (double)siNum.Value, (double)kNum.Value, (double)caNum.Value, (double)baNum.Value, (double)feNum.Value, -1);
            var   neuralOutput = network.GetOutputs(newGlass);

            output(("[BACK PROPOGATION] Siūloma tipas: "******"[K-Nearest-Neighbors] Siūloma tipas: "******"[Bayes] Siūloma tipas: " + bayes.test(newGlass)));
        }