Ejemplo n.º 1
0
Archivo: Form1.cs Proyecto: 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!");
        }
Ejemplo n.º 2
0
Archivo: Form1.cs Proyecto: 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");
        }
Ejemplo n.º 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!");
        }
Ejemplo n.º 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");
        }