/// <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!"); }
/// <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"); }