/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.groupBox1 = new System.Windows.Forms.GroupBox(); this.dataList = new System.Windows.Forms.ListView(); this.yColumnHeader = new System.Windows.Forms.ColumnHeader(); this.estimatedYColumnHeader = new System.Windows.Forms.ColumnHeader(); this.loadDataButton = new System.Windows.Forms.Button(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.chart = new AForge.Controls.Chart(); this.openFileDialog = new System.Windows.Forms.OpenFileDialog(); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.momentumBox = new System.Windows.Forms.TextBox(); this.label6 = new System.Windows.Forms.Label(); this.alphaBox = new System.Windows.Forms.TextBox(); this.label2 = new System.Windows.Forms.Label(); this.learningRateBox = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.iterationsBox = new System.Windows.Forms.TextBox(); this.predictionSizeBox = new System.Windows.Forms.TextBox(); this.label7 = new System.Windows.Forms.Label(); this.windowSizeBox = new System.Windows.Forms.TextBox(); this.label3 = new System.Windows.Forms.Label(); this.label10 = new System.Windows.Forms.Label(); this.label9 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.stopButton = new System.Windows.Forms.Button(); this.startButton = new System.Windows.Forms.Button(); this.groupBox4 = new System.Windows.Forms.GroupBox(); this.currentPredictionErrorBox = new System.Windows.Forms.TextBox(); this.label13 = new System.Windows.Forms.Label(); this.currentLearningErrorBox = new System.Windows.Forms.TextBox(); this.label12 = new System.Windows.Forms.Label(); this.currentIterationBox = new System.Windows.Forms.TextBox(); this.label11 = new System.Windows.Forms.Label(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.groupBox3.SuspendLayout(); this.groupBox4.SuspendLayout(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Controls.Add(this.dataList); this.groupBox1.Controls.Add(this.loadDataButton); this.groupBox1.Location = new System.Drawing.Point(10, 10); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(180, 380); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "Data"; // // dataList // this.dataList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.yColumnHeader, this.estimatedYColumnHeader}); this.dataList.FullRowSelect = true; this.dataList.GridLines = true; this.dataList.Location = new System.Drawing.Point(10, 20); this.dataList.Name = "dataList"; this.dataList.Size = new System.Drawing.Size(160, 315); this.dataList.TabIndex = 3; this.dataList.View = System.Windows.Forms.View.Details; // // yColumnHeader // this.yColumnHeader.Text = "Y:Real"; this.yColumnHeader.Width = 70; // // estimatedYColumnHeader // this.estimatedYColumnHeader.Text = "Y:Estimated"; this.estimatedYColumnHeader.Width = 70; // // loadDataButton // this.loadDataButton.Location = new System.Drawing.Point(10, 345); this.loadDataButton.Name = "loadDataButton"; this.loadDataButton.TabIndex = 2; this.loadDataButton.Text = "&Load"; this.loadDataButton.Click += new System.EventHandler(this.loadDataButton_Click); // // groupBox2 // this.groupBox2.Controls.Add(this.chart); this.groupBox2.Location = new System.Drawing.Point(200, 10); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(300, 380); this.groupBox2.TabIndex = 2; this.groupBox2.TabStop = false; this.groupBox2.Text = "Function"; // // chart // this.chart.Location = new System.Drawing.Point(10, 20); this.chart.Name = "chart"; this.chart.Size = new System.Drawing.Size(280, 350); this.chart.TabIndex = 0; // // openFileDialog // this.openFileDialog.Filter = "CSV (Comma delimited) (*.csv)|*.csv"; this.openFileDialog.Title = "Select data file"; // // groupBox3 // this.groupBox3.Controls.Add(this.momentumBox); this.groupBox3.Controls.Add(this.label6); this.groupBox3.Controls.Add(this.alphaBox); this.groupBox3.Controls.Add(this.label2); this.groupBox3.Controls.Add(this.learningRateBox); this.groupBox3.Controls.Add(this.label1); this.groupBox3.Controls.Add(this.label8); this.groupBox3.Controls.Add(this.iterationsBox); this.groupBox3.Controls.Add(this.predictionSizeBox); this.groupBox3.Controls.Add(this.label7); this.groupBox3.Controls.Add(this.windowSizeBox); this.groupBox3.Controls.Add(this.label3); this.groupBox3.Controls.Add(this.label10); this.groupBox3.Controls.Add(this.label9); this.groupBox3.Controls.Add(this.label5); this.groupBox3.Location = new System.Drawing.Point(510, 10); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(195, 205); this.groupBox3.TabIndex = 3; this.groupBox3.TabStop = false; this.groupBox3.Text = "Settings"; // // momentumBox // this.momentumBox.Location = new System.Drawing.Point(125, 45); this.momentumBox.Name = "momentumBox"; this.momentumBox.Size = new System.Drawing.Size(60, 20); this.momentumBox.TabIndex = 9; this.momentumBox.Text = ""; // // label6 // this.label6.Location = new System.Drawing.Point(10, 47); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(82, 17); this.label6.TabIndex = 8; this.label6.Text = "Momentum:"; // // alphaBox // this.alphaBox.Location = new System.Drawing.Point(125, 70); this.alphaBox.Name = "alphaBox"; this.alphaBox.Size = new System.Drawing.Size(60, 20); this.alphaBox.TabIndex = 11; this.alphaBox.Text = ""; // // label2 // this.label2.Location = new System.Drawing.Point(10, 72); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(120, 15); this.label2.TabIndex = 10; this.label2.Text = "Sigmoid\'s alpha value:"; // // learningRateBox // this.learningRateBox.Location = new System.Drawing.Point(125, 20); this.learningRateBox.Name = "learningRateBox"; this.learningRateBox.Size = new System.Drawing.Size(60, 20); this.learningRateBox.TabIndex = 7; this.learningRateBox.Text = ""; // // label1 // this.label1.Location = new System.Drawing.Point(10, 22); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(78, 14); this.label1.TabIndex = 6; this.label1.Text = "Learning rate:"; // // label8 // this.label8.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.label8.Location = new System.Drawing.Point(10, 157); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(175, 2); this.label8.TabIndex = 22; // // iterationsBox // this.iterationsBox.Location = new System.Drawing.Point(125, 165); this.iterationsBox.Name = "iterationsBox"; this.iterationsBox.Size = new System.Drawing.Size(60, 20); this.iterationsBox.TabIndex = 24; this.iterationsBox.Text = ""; // // predictionSizeBox // this.predictionSizeBox.Location = new System.Drawing.Point(125, 130); this.predictionSizeBox.Name = "predictionSizeBox"; this.predictionSizeBox.Size = new System.Drawing.Size(60, 20); this.predictionSizeBox.TabIndex = 21; this.predictionSizeBox.Text = ""; this.predictionSizeBox.TextChanged += new System.EventHandler(this.predictionSizeBox_TextChanged); // // label7 // this.label7.Location = new System.Drawing.Point(10, 132); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(90, 16); this.label7.TabIndex = 20; this.label7.Text = "Prediction size:"; // // windowSizeBox // this.windowSizeBox.Location = new System.Drawing.Point(125, 105); this.windowSizeBox.Name = "windowSizeBox"; this.windowSizeBox.Size = new System.Drawing.Size(60, 20); this.windowSizeBox.TabIndex = 19; this.windowSizeBox.Text = ""; this.windowSizeBox.TextChanged += new System.EventHandler(this.windowSizeBox_TextChanged); // // label3 // this.label3.Location = new System.Drawing.Point(10, 107); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(80, 16); this.label3.TabIndex = 18; this.label3.Text = "Window size:"; // // label10 // this.label10.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label10.Location = new System.Drawing.Point(126, 185); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(58, 14); this.label10.TabIndex = 25; this.label10.Text = "( 0 - inifinity )"; // // label9 // this.label9.Location = new System.Drawing.Point(10, 167); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(70, 16); this.label9.TabIndex = 23; this.label9.Text = "Iterations:"; // // label5 // this.label5.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.label5.Location = new System.Drawing.Point(10, 97); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(175, 2); this.label5.TabIndex = 17; // // stopButton // this.stopButton.Enabled = false; this.stopButton.Location = new System.Drawing.Point(630, 360); this.stopButton.Name = "stopButton"; this.stopButton.TabIndex = 6; this.stopButton.Text = "S&top"; this.stopButton.Click += new System.EventHandler(this.stopButton_Click); // // startButton // this.startButton.Enabled = false; this.startButton.Location = new System.Drawing.Point(540, 360); this.startButton.Name = "startButton"; this.startButton.TabIndex = 5; this.startButton.Text = "&Start"; this.startButton.Click += new System.EventHandler(this.startButton_Click); // // groupBox4 // this.groupBox4.Controls.Add(this.currentPredictionErrorBox); this.groupBox4.Controls.Add(this.label13); this.groupBox4.Controls.Add(this.currentLearningErrorBox); this.groupBox4.Controls.Add(this.label12); this.groupBox4.Controls.Add(this.currentIterationBox); this.groupBox4.Controls.Add(this.label11); this.groupBox4.Location = new System.Drawing.Point(510, 225); this.groupBox4.Name = "groupBox4"; this.groupBox4.Size = new System.Drawing.Size(195, 100); this.groupBox4.TabIndex = 7; this.groupBox4.TabStop = false; this.groupBox4.Text = "Current iteration:"; // // currentPredictionErrorBox // this.currentPredictionErrorBox.Location = new System.Drawing.Point(125, 70); this.currentPredictionErrorBox.Name = "currentPredictionErrorBox"; this.currentPredictionErrorBox.ReadOnly = true; this.currentPredictionErrorBox.Size = new System.Drawing.Size(60, 20); this.currentPredictionErrorBox.TabIndex = 5; this.currentPredictionErrorBox.Text = ""; // // label13 // this.label13.Location = new System.Drawing.Point(10, 72); this.label13.Name = "label13"; this.label13.Size = new System.Drawing.Size(100, 16); this.label13.TabIndex = 4; this.label13.Text = "Prediction error:"; // // currentLearningErrorBox // this.currentLearningErrorBox.Location = new System.Drawing.Point(125, 45); this.currentLearningErrorBox.Name = "currentLearningErrorBox"; this.currentLearningErrorBox.ReadOnly = true; this.currentLearningErrorBox.Size = new System.Drawing.Size(60, 20); this.currentLearningErrorBox.TabIndex = 3; this.currentLearningErrorBox.Text = ""; // // label12 // this.label12.Location = new System.Drawing.Point(10, 47); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size(80, 16); this.label12.TabIndex = 2; this.label12.Text = "Learning error:"; // // currentIterationBox // this.currentIterationBox.Location = new System.Drawing.Point(125, 20); this.currentIterationBox.Name = "currentIterationBox"; this.currentIterationBox.ReadOnly = true; this.currentIterationBox.Size = new System.Drawing.Size(60, 20); this.currentIterationBox.TabIndex = 1; this.currentIterationBox.Text = ""; // // label11 // this.label11.Location = new System.Drawing.Point(10, 22); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(70, 16); this.label11.TabIndex = 0; this.label11.Text = "Iteration:"; // // MainForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(715, 398); this.Controls.Add(this.groupBox4); this.Controls.Add(this.stopButton); this.Controls.Add(this.startButton); this.Controls.Add(this.groupBox3); this.Controls.Add(this.groupBox2); this.Controls.Add(this.groupBox1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.Name = "MainForm"; this.Text = "Time Series Prediction using Multi-Layer Neural Network"; this.Closing += new System.ComponentModel.CancelEventHandler(this.MainForm_Closing); this.groupBox1.ResumeLayout(false); this.groupBox2.ResumeLayout(false); this.groupBox3.ResumeLayout(false); this.groupBox4.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.groupBox1 = new System.Windows.Forms.GroupBox(); this.generateMapButton = new System.Windows.Forms.Button(); this.citiesCountBox = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.stopButton = new System.Windows.Forms.Button(); this.startButton = new System.Windows.Forms.Button(); this.currentIterationBox = new System.Windows.Forms.TextBox(); this.label8 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.rateBox = new System.Windows.Forms.TextBox(); this.label5 = new System.Windows.Forms.Label(); this.iterationsBox = new System.Windows.Forms.TextBox(); this.label6 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.neuronsBox = new System.Windows.Forms.TextBox(); this.label2 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.radiusBox = new System.Windows.Forms.TextBox(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.SuspendLayout(); this.chart = new AForge.Controls.Chart(); // // groupBox1 // this.groupBox1.Controls.Add(this.generateMapButton); this.groupBox1.Controls.Add(this.citiesCountBox); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.chart); this.groupBox1.Location = new System.Drawing.Point(10, 10); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(300, 340); this.groupBox1.TabIndex = 1; this.groupBox1.TabStop = false; this.groupBox1.Text = "Map"; // // generateMapButton // this.generateMapButton.Location = new System.Drawing.Point(110, 309); this.generateMapButton.Name = "generateMapButton"; this.generateMapButton.Size = new System.Drawing.Size(75, 22); this.generateMapButton.TabIndex = 3; this.generateMapButton.Text = "&Generate"; this.generateMapButton.Click += new System.EventHandler(this.generateMapButton_Click); // // citiesCountBox // this.citiesCountBox.Location = new System.Drawing.Point(50, 310); this.citiesCountBox.Name = "citiesCountBox"; this.citiesCountBox.Size = new System.Drawing.Size(50, 20); this.citiesCountBox.TabIndex = 2; this.citiesCountBox.Text = ""; // // label1 // this.label1.Location = new System.Drawing.Point(10, 312); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(40, 16); this.label1.TabIndex = 1; this.label1.Text = "Cities:"; // // chart // this.chart.Location = new System.Drawing.Point(10, 20); this.chart.Name = "chart"; this.chart.Size = new System.Drawing.Size(280, 280); this.chart.TabIndex = 4; // // groupBox2 // this.groupBox2.Controls.Add(this.radiusBox); this.groupBox2.Controls.Add(this.label4); this.groupBox2.Controls.Add(this.stopButton); this.groupBox2.Controls.Add(this.startButton); this.groupBox2.Controls.Add(this.currentIterationBox); this.groupBox2.Controls.Add(this.label8); this.groupBox2.Controls.Add(this.label7); this.groupBox2.Controls.Add(this.rateBox); this.groupBox2.Controls.Add(this.label5); this.groupBox2.Controls.Add(this.iterationsBox); this.groupBox2.Controls.Add(this.label6); this.groupBox2.Controls.Add(this.label3); this.groupBox2.Controls.Add(this.neuronsBox); this.groupBox2.Controls.Add(this.label2); this.groupBox2.Location = new System.Drawing.Point(320, 10); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(180, 340); this.groupBox2.TabIndex = 2; this.groupBox2.TabStop = false; this.groupBox2.Text = "Neural Network"; // // stopButton // this.stopButton.Enabled = false; this.stopButton.Location = new System.Drawing.Point(95, 305); this.stopButton.Name = "stopButton"; this.stopButton.TabIndex = 23; this.stopButton.Text = "S&top"; this.stopButton.Click += new System.EventHandler(this.stopButton_Click); // // startButton // this.startButton.Location = new System.Drawing.Point(10, 305); this.startButton.Name = "startButton"; this.startButton.TabIndex = 22; this.startButton.Text = "&Start"; this.startButton.Click += new System.EventHandler(this.startButton_Click); // // currentIterationBox // this.currentIterationBox.Location = new System.Drawing.Point(110, 150); this.currentIterationBox.Name = "currentIterationBox"; this.currentIterationBox.ReadOnly = true; this.currentIterationBox.Size = new System.Drawing.Size(60, 20); this.currentIterationBox.TabIndex = 21; this.currentIterationBox.Text = ""; // // label8 // this.label8.Location = new System.Drawing.Point(10, 152); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(100, 16); this.label8.TabIndex = 20; this.label8.Text = "Curren iteration:"; // // label7 // this.label7.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label7.Location = new System.Drawing.Point(10, 139); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(160, 2); this.label7.TabIndex = 19; // // rateBox // this.rateBox.Location = new System.Drawing.Point(110, 85); this.rateBox.Name = "rateBox"; this.rateBox.Size = new System.Drawing.Size(60, 20); this.rateBox.TabIndex = 18; this.rateBox.Text = ""; // // label5 // this.label5.Location = new System.Drawing.Point(10, 87); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(100, 16); this.label5.TabIndex = 17; this.label5.Text = "Initial learning rate:"; // // iterationsBox // this.iterationsBox.Location = new System.Drawing.Point(110, 60); this.iterationsBox.Name = "iterationsBox"; this.iterationsBox.Size = new System.Drawing.Size(60, 20); this.iterationsBox.TabIndex = 16; this.iterationsBox.Text = ""; // // label6 // this.label6.Location = new System.Drawing.Point(10, 62); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(60, 16); this.label6.TabIndex = 15; this.label6.Text = "Iteraions:"; // // label3 // this.label3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label3.Location = new System.Drawing.Point(10, 48); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(160, 2); this.label3.TabIndex = 4; // // neuronsBox // this.neuronsBox.Location = new System.Drawing.Point(110, 20); this.neuronsBox.Name = "neuronsBox"; this.neuronsBox.Size = new System.Drawing.Size(60, 20); this.neuronsBox.TabIndex = 1; this.neuronsBox.Text = ""; // // label2 // this.label2.Location = new System.Drawing.Point(10, 22); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(60, 16); this.label2.TabIndex = 0; this.label2.Text = "Neurons:"; // // label4 // this.label4.Location = new System.Drawing.Point(10, 112); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(100, 16); this.label4.TabIndex = 24; this.label4.Text = "Learning radius:"; // // radiusBox // this.radiusBox.Location = new System.Drawing.Point(110, 110); this.radiusBox.Name = "radiusBox"; this.radiusBox.Size = new System.Drawing.Size(60, 20); this.radiusBox.TabIndex = 25; this.radiusBox.Text = ""; // // MainForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(509, 360); this.Controls.Add(this.groupBox2); this.Controls.Add(this.groupBox1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.Name = "MainForm"; this.Text = "Traveling Salesman Problem using Elastic Net"; this.Closing += new System.ComponentModel.CancelEventHandler(this.MainForm_Closing); this.groupBox1.ResumeLayout(false); this.groupBox2.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.groupBox1 = new System.Windows.Forms.GroupBox(); this.chart = new AForge.Controls.Chart(); this.loadButton = new System.Windows.Forms.Button(); this.dataList = new System.Windows.Forms.ListView(); this.noVisualizationLabel = new System.Windows.Forms.Label(); this.openFileDialog = new System.Windows.Forms.OpenFileDialog(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.errorChart = new AForge.Controls.Chart(); this.label5 = new System.Windows.Forms.Label(); this.stopButton = new System.Windows.Forms.Button(); this.iterationsBox = new System.Windows.Forms.TextBox(); this.label4 = new System.Windows.Forms.Label(); this.weightsList = new System.Windows.Forms.ListView(); this.columnHeader1 = new System.Windows.Forms.ColumnHeader(); this.columnHeader2 = new System.Windows.Forms.ColumnHeader(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.startButton = new System.Windows.Forms.Button(); this.learningRateBox = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.saveFilesCheck = new System.Windows.Forms.CheckBox(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Controls.AddRange(new System.Windows.Forms.Control[] { this.chart, this.loadButton, this.dataList, this.noVisualizationLabel}); this.groupBox1.Location = new System.Drawing.Point(10, 10); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(190, 420); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "Data"; // // chart // this.chart.Location = new System.Drawing.Point(10, 215); this.chart.Name = "chart"; this.chart.Size = new System.Drawing.Size(170, 170); this.chart.TabIndex = 2; this.chart.Text = "chart1"; // // loadButton // this.loadButton.Location = new System.Drawing.Point(10, 390); this.loadButton.Name = "loadButton"; this.loadButton.TabIndex = 1; this.loadButton.Text = "&Load"; this.loadButton.Click += new System.EventHandler(this.loadButton_Click); // // dataList // this.dataList.FullRowSelect = true; this.dataList.GridLines = true; this.dataList.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.dataList.Location = new System.Drawing.Point(10, 20); this.dataList.Name = "dataList"; this.dataList.Size = new System.Drawing.Size(170, 190); this.dataList.TabIndex = 0; this.dataList.View = System.Windows.Forms.View.Details; // // noVisualizationLabel // this.noVisualizationLabel.Location = new System.Drawing.Point(10, 215); this.noVisualizationLabel.Name = "noVisualizationLabel"; this.noVisualizationLabel.Size = new System.Drawing.Size(170, 170); this.noVisualizationLabel.TabIndex = 2; this.noVisualizationLabel.Text = "Visualization is not available."; this.noVisualizationLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.noVisualizationLabel.Visible = false; // // openFileDialog // this.openFileDialog.Filter = "CSV (Comma delimited) (*.csv)|*.csv"; this.openFileDialog.Title = "Select data file"; // // groupBox2 // this.groupBox2.Controls.AddRange(new System.Windows.Forms.Control[] { this.saveFilesCheck, this.errorChart, this.label5, this.stopButton, this.iterationsBox, this.label4, this.weightsList, this.label3, this.label2, this.startButton, this.learningRateBox, this.label1}); this.groupBox2.Location = new System.Drawing.Point(210, 10); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(240, 420); this.groupBox2.TabIndex = 1; this.groupBox2.TabStop = false; this.groupBox2.Text = "Training"; // // errorChart // this.errorChart.Location = new System.Drawing.Point(10, 270); this.errorChart.Name = "errorChart"; this.errorChart.Size = new System.Drawing.Size(220, 140); this.errorChart.TabIndex = 10; // // label5 // this.label5.Location = new System.Drawing.Point(10, 250); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(101, 15); this.label5.TabIndex = 9; this.label5.Text = "Error\'s dynamics:"; // // stopButton // this.stopButton.Enabled = false; this.stopButton.Location = new System.Drawing.Point(155, 49); this.stopButton.Name = "stopButton"; this.stopButton.TabIndex = 8; this.stopButton.Text = "S&top"; this.stopButton.Click += new System.EventHandler(this.stopButton_Click); // // iterationsBox // this.iterationsBox.Location = new System.Drawing.Point(90, 50); this.iterationsBox.Name = "iterationsBox"; this.iterationsBox.ReadOnly = true; this.iterationsBox.Size = new System.Drawing.Size(50, 20); this.iterationsBox.TabIndex = 7; this.iterationsBox.Text = ""; // // label4 // this.label4.Location = new System.Drawing.Point(10, 52); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(65, 16); this.label4.TabIndex = 6; this.label4.Text = "Iterations:"; // // weightsList // this.weightsList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader1, this.columnHeader2}); this.weightsList.FullRowSelect = true; this.weightsList.GridLines = true; this.weightsList.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.weightsList.Location = new System.Drawing.Point(10, 130); this.weightsList.Name = "weightsList"; this.weightsList.Size = new System.Drawing.Size(220, 110); this.weightsList.TabIndex = 5; this.weightsList.View = System.Windows.Forms.View.Details; // // columnHeader1 // this.columnHeader1.Text = "Weight"; this.columnHeader1.Width = 70; // // columnHeader2 // this.columnHeader2.Text = "Value"; this.columnHeader2.Width = 100; // // label3 // this.label3.Location = new System.Drawing.Point(10, 110); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(112, 16); this.label3.TabIndex = 4; this.label3.Text = "Perceptron weights:"; // // label2 // this.label2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label2.Location = new System.Drawing.Point(10, 100); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(220, 2); this.label2.TabIndex = 3; // // startButton // this.startButton.Enabled = false; this.startButton.Location = new System.Drawing.Point(155, 19); this.startButton.Name = "startButton"; this.startButton.TabIndex = 2; this.startButton.Text = "&Start"; this.startButton.Click += new System.EventHandler(this.startButton_Click); // // learningRateBox // this.learningRateBox.Location = new System.Drawing.Point(90, 20); this.learningRateBox.Name = "learningRateBox"; this.learningRateBox.Size = new System.Drawing.Size(50, 20); this.learningRateBox.TabIndex = 1; this.learningRateBox.Text = ""; // // label1 // this.label1.Location = new System.Drawing.Point(10, 22); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(75, 16); this.label1.TabIndex = 0; this.label1.Text = "Learning rate:"; // // saveFilesCheck // this.saveFilesCheck.Location = new System.Drawing.Point(10, 80); this.saveFilesCheck.Name = "saveFilesCheck"; this.saveFilesCheck.Size = new System.Drawing.Size(182, 16); this.saveFilesCheck.TabIndex = 11; this.saveFilesCheck.Text = "Save weights and errors to files"; // // MainForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(459, 440); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.groupBox2, this.groupBox1}); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.Name = "MainForm"; this.Text = "Perceptron Classifier"; this.Closing += new System.ComponentModel.CancelEventHandler(this.MainForm_Closing); this.groupBox1.ResumeLayout(false); this.groupBox2.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.groupBox1 = new System.Windows.Forms.GroupBox(); this.loadButton = new System.Windows.Forms.Button(); this.chart = new AForge.Controls.Chart(); this.openFileDialog = new System.Windows.Forms.OpenFileDialog(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.weightsList = new System.Windows.Forms.ListView(); this.columnHeader1 = new System.Windows.Forms.ColumnHeader(); this.columnHeader2 = new System.Windows.Forms.ColumnHeader(); this.columnHeader3 = new System.Windows.Forms.ColumnHeader(); this.label4 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.saveFilesCheck = new System.Windows.Forms.CheckBox(); this.stopButton = new System.Windows.Forms.Button(); this.startButton = new System.Windows.Forms.Button(); this.iterationsBox = new System.Windows.Forms.TextBox(); this.label2 = new System.Windows.Forms.Label(); this.learningRateBox = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.errorChart = new AForge.Controls.Chart(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.groupBox3.SuspendLayout(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Controls.AddRange(new System.Windows.Forms.Control[] { this.loadButton, this.chart}); this.groupBox1.Location = new System.Drawing.Point(10, 10); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(220, 255); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "Data"; // // loadButton // this.loadButton.Location = new System.Drawing.Point(10, 225); this.loadButton.Name = "loadButton"; this.loadButton.TabIndex = 1; this.loadButton.Text = "&Load"; this.loadButton.Click += new System.EventHandler(this.loadButton_Click); // // chart // this.chart.Location = new System.Drawing.Point(10, 20); this.chart.Name = "chart"; this.chart.Size = new System.Drawing.Size(200, 200); this.chart.TabIndex = 0; // // openFileDialog // this.openFileDialog.Filter = "CSV (Comma delimited) (*.csv)|*.csv"; this.openFileDialog.Title = "Select data file"; // // groupBox2 // this.groupBox2.Controls.AddRange(new System.Windows.Forms.Control[] { this.weightsList, this.label4, this.label3, this.saveFilesCheck, this.stopButton, this.startButton, this.iterationsBox, this.label2, this.learningRateBox, this.label1}); this.groupBox2.Location = new System.Drawing.Point(240, 10); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(240, 410); this.groupBox2.TabIndex = 1; this.groupBox2.TabStop = false; this.groupBox2.Text = "Training"; // // weightsList // this.weightsList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader1, this.columnHeader2, this.columnHeader3}); this.weightsList.FullRowSelect = true; this.weightsList.GridLines = true; this.weightsList.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.weightsList.Location = new System.Drawing.Point(10, 130); this.weightsList.Name = "weightsList"; this.weightsList.Size = new System.Drawing.Size(220, 270); this.weightsList.TabIndex = 14; this.weightsList.View = System.Windows.Forms.View.Details; // // columnHeader1 // this.columnHeader1.Text = "Neuron"; // // columnHeader2 // this.columnHeader2.Text = "Weigh"; // // columnHeader3 // this.columnHeader3.Text = "Value"; this.columnHeader3.Width = 65; // // label4 // this.label4.Location = new System.Drawing.Point(10, 110); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(55, 16); this.label4.TabIndex = 13; this.label4.Text = "Weights:"; // // label3 // this.label3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label3.Location = new System.Drawing.Point(10, 100); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(220, 2); this.label3.TabIndex = 12; // // saveFilesCheck // this.saveFilesCheck.Location = new System.Drawing.Point(10, 80); this.saveFilesCheck.Name = "saveFilesCheck"; this.saveFilesCheck.Size = new System.Drawing.Size(150, 16); this.saveFilesCheck.TabIndex = 11; this.saveFilesCheck.Text = "Save weights and errors to files"; // // stopButton // this.stopButton.Enabled = false; this.stopButton.Location = new System.Drawing.Point(155, 49); this.stopButton.Name = "stopButton"; this.stopButton.TabIndex = 10; this.stopButton.Text = "S&top"; this.stopButton.Click += new System.EventHandler(this.stopButton_Click); // // startButton // this.startButton.Enabled = false; this.startButton.Location = new System.Drawing.Point(155, 19); this.startButton.Name = "startButton"; this.startButton.TabIndex = 9; this.startButton.Text = "&Start"; this.startButton.Click += new System.EventHandler(this.startButton_Click); // // iterationsBox // this.iterationsBox.Location = new System.Drawing.Point(90, 50); this.iterationsBox.Name = "iterationsBox"; this.iterationsBox.ReadOnly = true; this.iterationsBox.Size = new System.Drawing.Size(50, 20); this.iterationsBox.TabIndex = 3; this.iterationsBox.Text = ""; // // label2 // this.label2.Location = new System.Drawing.Point(10, 52); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(55, 13); this.label2.TabIndex = 2; this.label2.Text = "Iterations:"; // // learningRateBox // this.learningRateBox.Location = new System.Drawing.Point(90, 20); this.learningRateBox.Name = "learningRateBox"; this.learningRateBox.Size = new System.Drawing.Size(50, 20); this.learningRateBox.TabIndex = 1; this.learningRateBox.Text = ""; // // label1 // this.label1.Location = new System.Drawing.Point(10, 22); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(80, 17); this.label1.TabIndex = 0; this.label1.Text = "Learning rate:"; // // groupBox3 // this.groupBox3.Controls.AddRange(new System.Windows.Forms.Control[] { this.errorChart}); this.groupBox3.Location = new System.Drawing.Point(10, 270); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(220, 150); this.groupBox3.TabIndex = 2; this.groupBox3.TabStop = false; this.groupBox3.Text = "Error\'s dynamics"; // // errorChart // this.errorChart.Location = new System.Drawing.Point(10, 20); this.errorChart.Name = "errorChart"; this.errorChart.Size = new System.Drawing.Size(200, 120); this.errorChart.TabIndex = 0; this.errorChart.Text = "chart1"; // // MainForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(489, 430); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.groupBox3, this.groupBox2, this.groupBox1}); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.Name = "MainForm"; this.Text = "One-Layer Perceptron Classifier"; this.Closing += new System.ComponentModel.CancelEventHandler(this.MainForm_Closing); this.Load += new System.EventHandler(this.MainForm_Load); this.groupBox1.ResumeLayout(false); this.groupBox2.ResumeLayout(false); this.groupBox3.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.groupBox1 = new System.Windows.Forms.GroupBox(); this.stopButton = new System.Windows.Forms.Button(); this.startButton = new System.Windows.Forms.Button(); this.label5 = new System.Windows.Forms.Label(); this.currentErrorBox = new System.Windows.Forms.TextBox(); this.label11 = new System.Windows.Forms.Label(); this.currentIterationBox = new System.Windows.Forms.TextBox(); this.label8 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.sigmoidTypeCombo = new System.Windows.Forms.ComboBox(); this.errorLimitBox = new System.Windows.Forms.TextBox(); this.label3 = new System.Windows.Forms.Label(); this.alphaBox = new System.Windows.Forms.TextBox(); this.label2 = new System.Windows.Forms.Label(); this.learningRateBox = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.errorChart = new AForge.Controls.Chart(); this.saveFilesCheck = new System.Windows.Forms.CheckBox(); this.label6 = new System.Windows.Forms.Label(); this.momentumBox = new System.Windows.Forms.TextBox(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Controls.Add(this.momentumBox); this.groupBox1.Controls.Add(this.label6); this.groupBox1.Controls.Add(this.stopButton); this.groupBox1.Controls.Add(this.startButton); this.groupBox1.Controls.Add(this.label5); this.groupBox1.Controls.Add(this.currentErrorBox); this.groupBox1.Controls.Add(this.label11); this.groupBox1.Controls.Add(this.currentIterationBox); this.groupBox1.Controls.Add(this.label8); this.groupBox1.Controls.Add(this.label7); this.groupBox1.Controls.Add(this.sigmoidTypeCombo); this.groupBox1.Controls.Add(this.errorLimitBox); this.groupBox1.Controls.Add(this.label3); this.groupBox1.Controls.Add(this.alphaBox); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.learningRateBox); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.label4); this.groupBox1.Location = new System.Drawing.Point(10, 10); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(195, 260); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "Neural Network"; // // stopButton // this.stopButton.Enabled = false; this.stopButton.Location = new System.Drawing.Point(110, 225); this.stopButton.Name = "stopButton"; this.stopButton.TabIndex = 28; this.stopButton.Text = "S&top"; this.stopButton.Click += new System.EventHandler(this.stopButton_Click); // // startButton // this.startButton.Location = new System.Drawing.Point(25, 225); this.startButton.Name = "startButton"; this.startButton.TabIndex = 27; this.startButton.Text = "&Start"; this.startButton.Click += new System.EventHandler(this.startButton_Click); // // label5 // this.label5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label5.Location = new System.Drawing.Point(10, 211); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(175, 2); this.label5.TabIndex = 26; // // currentErrorBox // this.currentErrorBox.Location = new System.Drawing.Point(125, 185); this.currentErrorBox.Name = "currentErrorBox"; this.currentErrorBox.ReadOnly = true; this.currentErrorBox.Size = new System.Drawing.Size(60, 20); this.currentErrorBox.TabIndex = 25; this.currentErrorBox.Text = ""; // // label11 // this.label11.Location = new System.Drawing.Point(10, 187); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(121, 14); this.label11.TabIndex = 24; this.label11.Text = "Current average error:"; // // currentIterationBox // this.currentIterationBox.Location = new System.Drawing.Point(125, 160); this.currentIterationBox.Name = "currentIterationBox"; this.currentIterationBox.ReadOnly = true; this.currentIterationBox.Size = new System.Drawing.Size(60, 20); this.currentIterationBox.TabIndex = 23; this.currentIterationBox.Text = ""; // // label8 // this.label8.Location = new System.Drawing.Point(10, 162); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(98, 16); this.label8.TabIndex = 22; this.label8.Text = "Current iteration:"; // // label7 // this.label7.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label7.Location = new System.Drawing.Point(10, 150); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(175, 2); this.label7.TabIndex = 21; // // sigmoidTypeCombo // this.sigmoidTypeCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.sigmoidTypeCombo.Items.AddRange(new object[] { "Unipolar", "Bipolar"}); this.sigmoidTypeCombo.Location = new System.Drawing.Point(125, 120); this.sigmoidTypeCombo.Name = "sigmoidTypeCombo"; this.sigmoidTypeCombo.Size = new System.Drawing.Size(60, 21); this.sigmoidTypeCombo.TabIndex = 9; // // errorLimitBox // this.errorLimitBox.Location = new System.Drawing.Point(125, 95); this.errorLimitBox.Name = "errorLimitBox"; this.errorLimitBox.Size = new System.Drawing.Size(60, 20); this.errorLimitBox.TabIndex = 7; this.errorLimitBox.Text = ""; // // label3 // this.label3.Location = new System.Drawing.Point(10, 97); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(110, 15); this.label3.TabIndex = 6; this.label3.Text = "Learning error limit:"; // // alphaBox // this.alphaBox.Location = new System.Drawing.Point(125, 70); this.alphaBox.Name = "alphaBox"; this.alphaBox.Size = new System.Drawing.Size(60, 20); this.alphaBox.TabIndex = 5; this.alphaBox.Text = ""; // // label2 // this.label2.Location = new System.Drawing.Point(10, 72); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(120, 15); this.label2.TabIndex = 4; this.label2.Text = "Sigmoid\'s alpha value:"; // // learningRateBox // this.learningRateBox.Location = new System.Drawing.Point(125, 20); this.learningRateBox.Name = "learningRateBox"; this.learningRateBox.Size = new System.Drawing.Size(60, 20); this.learningRateBox.TabIndex = 1; this.learningRateBox.Text = ""; // // label1 // this.label1.Location = new System.Drawing.Point(10, 22); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(78, 14); this.label1.TabIndex = 0; this.label1.Text = "Learning rate:"; // // label4 // this.label4.Location = new System.Drawing.Point(10, 122); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(100, 15); this.label4.TabIndex = 8; this.label4.Text = "Sigmoid\'s type:"; // // groupBox2 // this.groupBox2.Controls.Add(this.saveFilesCheck); this.groupBox2.Controls.Add(this.errorChart); this.groupBox2.Location = new System.Drawing.Point(215, 10); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(220, 260); this.groupBox2.TabIndex = 1; this.groupBox2.TabStop = false; this.groupBox2.Text = "Error\'s dynamics"; // // errorChart // this.errorChart.Location = new System.Drawing.Point(10, 20); this.errorChart.Name = "errorChart"; this.errorChart.Size = new System.Drawing.Size(200, 205); this.errorChart.TabIndex = 0; this.errorChart.Text = "chart1"; // // saveFilesCheck // this.saveFilesCheck.Location = new System.Drawing.Point(10, 233); this.saveFilesCheck.Name = "saveFilesCheck"; this.saveFilesCheck.Size = new System.Drawing.Size(200, 18); this.saveFilesCheck.TabIndex = 1; this.saveFilesCheck.Text = "Save errors to files"; // // label6 // this.label6.Location = new System.Drawing.Point(10, 47); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(82, 17); this.label6.TabIndex = 2; this.label6.Text = "Momentum:"; // // momentumBox // this.momentumBox.Location = new System.Drawing.Point(125, 45); this.momentumBox.Name = "momentumBox"; this.momentumBox.Size = new System.Drawing.Size(60, 20); this.momentumBox.TabIndex = 3; this.momentumBox.Text = ""; // // MainForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(452, 278); this.Controls.Add(this.groupBox2); this.Controls.Add(this.groupBox1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.Name = "MainForm"; this.Text = "XOR Problem"; this.Closing += new System.ComponentModel.CancelEventHandler(this.MainForm_Closing); this.groupBox1.ResumeLayout(false); this.groupBox2.ResumeLayout(false); this.ResumeLayout(false); }