Example #1
0
File: Form1.cs Project: Soldie/OCR
        /// <summary>
        ///
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void saveVariantsButton_Click(object sender, EventArgs e)
        {
            // Saving iterations amount
            iterations = Convert.ToInt32(textBox4.Text);

            // Creating the network - 35 on In Layer, neurons on Hidden Layer, 10 neurons on Out Layer, Learning Rate
            network = new MultiLayerPerceptronNetwork(35, Convert.ToInt32(textBox3.Text), 10, Convert.ToDouble(textBox2.Text));

            MessageBox.Show("Rede neural criada com sucesso!");
        }
Example #2
0
File: Form1.cs Project: Soldie/OCR
        /// <summary>
        /// Clique no botão "Limpar Tudo"
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void cleanAllButton_Click(object sender, EventArgs e)
        {
            CleanGrid();
            comboBox1.SelectedIndex = -1;
            comboBox1.Text          = "Número #";
            textBox1.Text           = "";

            // Deleting the network
            network = null;

            MessageBox.Show("Memória limpa com sucesso");
        }
Example #3
0
        /// <summary>
        /// 
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void saveVariantsButton_Click(object sender, EventArgs e)
        {
            // Saving iterations amount
            iterations = Convert.ToInt32(textBox4.Text);

            // Creating the network - 35 on In Layer, neurons on Hidden Layer, 10 neurons on Out Layer, Learning Rate
            network = new MultiLayerPerceptronNetwork(35, Convert.ToInt32(textBox3.Text), 10, Convert.ToDouble(textBox2.Text));

            MessageBox.Show("Rede neural criada com sucesso!");
        }
Example #4
0
        /// <summary>
        /// Clique no botão "Limpar Tudo"
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void cleanAllButton_Click(object sender, EventArgs e)
        {
            CleanGrid();
            comboBox1.SelectedIndex = -1;
            comboBox1.Text = "Número #";
            textBox1.Text = "";

            // Deleting the network
            network = null;

            MessageBox.Show("Memória limpa com sucesso");
        }