private void ButtonLoadTrainSet_Click(object sender, EventArgs e) { _instance = _parser.ParseData(loadTrainSet.Text); UiHandler.SetSlider(panelSlider, buttonTrain.Top, buttonTrain.Height); buttonTrain.Enabled = true; UiHandler.PanelVisible(panelTrain, _panels); }
private void ButtonTestSet_Click(object sender, EventArgs e) { _drawer?.ResetPoints(); UiHandler.SetSlider(panelSlider, buttonTestSet.Top, buttonTestSet.Height); buttonTrain.Enabled = false; buttonTest.Enabled = false; UiHandler.PanelVisible(panelTestSet, _panels); }
private void GoToResult_Click(object sender, EventArgs e) { Train.Visible = true; _ann.GoToResult(); GoToResults.Visible = false; UiHandler.PanelVisible(panelResult, _panels); buttonResult.Enabled = true; UiHandler.SetSlider(panelSlider, buttonResult.Top, buttonResult.Height); }
private void ButtonSave_Click(object sender, EventArgs e) { SaveTestSet.Enabled = false; savePanel.Visible = false; _parser.FormatAndSaveResult(fileNameBox.Text, _instance); UiHandler.PanelVisible(panelTrain, _panels); buttonTrain.Enabled = true; UiHandler.SetSlider(panelSlider, buttonTrain.Top, buttonTrain.Height); }
private void GoToTest_Click(object sender, EventArgs e) { Train.Visible = true; GoToTest.Visible = false; GoToTest.Enabled = false; _ann.FixArchitecture(); UiHandler.PanelVisible(panelTest, _panels); buttonTest.Enabled = true; UiHandler.SetSlider(panelSlider, buttonTest.Top, buttonTest.Height); }
private void ButtonTrain_Click(object sender, EventArgs e) { _ann?.ResetNetwork(); _drawer?.ResetPoints(); _ann?.ResetTraining(); Train.Visible = true; GoToTest.Visible = false; UiHandler.SetSlider(panelSlider, buttonTrain.Top, buttonTrain.Height); buttonTest.Enabled = false; UiHandler.PanelVisible(panelTrain, _panels); }
private void ButtonLoadTestSet_Click(object sender, EventArgs e) { _instance = _parser.ParseData(loadTestSet.Text); _params.Samples = _instance.NumSamples; _params.Symbols = _instance.NumSymbols; _params.PerSymbolSamples = _instance.NumSymbolSamples; _symbol = new SymbolHandler(_params.PerSymbolSamples); UiHandler.SetSlider(panelSlider, buttonTrain.Top, buttonTrain.Height); buttonTestSet.Enabled = true; buttonTrain.Enabled = true; UiHandler.PanelVisible(panelTrain, _panels); }
private void ButtonTrainSet_Click(object sender, EventArgs e) { UiHandler.SetSlider(panelSlider, buttonTrainSet.Top, buttonTrainSet.Height); InputParams.FillTrainSetChoices(loadTrainSet, comboBoxFunction); buttonTrain.Enabled = false; buttonResult.Enabled = false; panelFunction.Visible = false; UiHandler.PanelVisible(panelTrainSet, _panels); if (!(_ann is null)) { _ann.ForcedStop = true; } }
private void ButtonTrain_Click(object sender, EventArgs e) { if (!(_ann is null)) { _ann.ForcedStop = true; } Train.Visible = true; buttonStop.Visible = false; GoToResults.Visible = false; _ann?.ResetTraining(); UiHandler.SetSlider(panelSlider, buttonTrain.Top, buttonTrain.Height); buttonResult.Enabled = false; UiHandler.PanelVisible(panelTrain, _panels); }
private void ButtonTest_Click(object sender, EventArgs e) { UiHandler.SetSlider(panelSlider, buttonResult.Top, buttonResult.Height); UiHandler.PanelVisible(panelResult, _panels); }
private void ButtonTest_Click(object sender, EventArgs e) { Test.Enabled = false; UiHandler.SetSlider(panelSlider, buttonTest.Top, buttonTest.Height); UiHandler.PanelVisible(panelTest, _panels); }
private void SetParameters_Click(object sender, EventArgs e) { UiHandler.PanelVisible(panelTestSet, _panels); buttonTestSet.Enabled = true; UiHandler.SetSlider(panelSlider, buttonTestSet.Top, buttonTestSet.Height); }