Changeset 8033
- Timestamp:
- 06/18/12 13:45:43 (12 years ago)
- Location:
- branches/DataAnalysisService/HeuristicLab.ExperimentGeneration.DataAnalysis.ExperimentWizard/3.3
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataAnalysisService/HeuristicLab.ExperimentGeneration.DataAnalysis.ExperimentWizard/3.3/ResultPage.Designer.cs
r7944 r8033 28 28 this.label2 = new System.Windows.Forms.Label(); 29 29 this.rbHive = new System.Windows.Forms.RadioButton(); 30 this.label3 = new System.Windows.Forms.Label(); 30 31 this.SuspendLayout(); 32 // 33 // wizardBanner 34 // 35 this.wizardBanner.Size = new System.Drawing.Size(640, 81); 36 this.wizardBanner.Subtitle = "Choose next step and click Finish to exit the wizard."; 37 this.wizardBanner.Title = "Experiment Created"; 31 38 // 32 39 // rbHL … … 34 41 this.rbHL.AutoSize = true; 35 42 this.rbHL.Checked = true; 36 this.rbHL.Location = new System.Drawing.Point(1 79, 87);43 this.rbHL.Location = new System.Drawing.Point(198, 143); 37 44 this.rbHL.Name = "rbHL"; 38 45 this.rbHL.Size = new System.Drawing.Size(14, 13); … … 44 51 // 45 52 this.label1.AutoSize = true; 46 this.label1.Location = new System.Drawing.Point( 0, 87);53 this.label1.Location = new System.Drawing.Point(7, 143); 47 54 this.label1.Name = "label1"; 48 55 this.label1.Size = new System.Drawing.Size(173, 13); … … 53 60 // 54 61 this.label2.AutoSize = true; 55 this.label2.Location = new System.Drawing.Point( 0, 113);62 this.label2.Location = new System.Drawing.Point(7, 184); 56 63 this.label2.Name = "label2"; 57 64 this.label2.Size = new System.Drawing.Size(146, 13); … … 62 69 // 63 70 this.rbHive.AutoSize = true; 64 this.rbHive.Location = new System.Drawing.Point(1 79, 113);71 this.rbHive.Location = new System.Drawing.Point(198, 184); 65 72 this.rbHive.Name = "rbHive"; 66 73 this.rbHive.Size = new System.Drawing.Size(14, 13); … … 68 75 this.rbHive.UseVisualStyleBackColor = true; 69 76 // 77 // label3 78 // 79 this.label3.AutoSize = true; 80 this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 81 this.label3.Location = new System.Drawing.Point(6, 88); 82 this.label3.Name = "label3"; 83 this.label3.Size = new System.Drawing.Size(308, 20); 84 this.label3.TabIndex = 5; 85 this.label3.Text = "Your experiment was created successfully."; 86 // 70 87 // ResultPage 71 88 // 72 89 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 90 this.Controls.Add(this.rbHL); 91 this.Controls.Add(this.rbHive); 92 this.Controls.Add(this.label3); 73 93 this.Controls.Add(this.label2); 74 this.Controls.Add(this.rbHive);75 94 this.Controls.Add(this.label1); 76 this.Controls.Add(this.rbHL);77 95 this.Name = "ResultPage"; 96 this.Size = new System.Drawing.Size(640, 480); 78 97 this.SetActive += new System.ComponentModel.CancelEventHandler(this.ResultPage_SetActive); 79 98 this.WizardCommit += new System.ComponentModel.CancelEventHandler(this.ResultPage_WizardCommit); 80 99 this.WizardBack += new HeuristicLab.ExperimentGeneration.DataAnalysis.Wizard.WizardPageEventHandler(this.ResultPage_WizardBack); 100 this.Controls.SetChildIndex(this.label1, 0); 101 this.Controls.SetChildIndex(this.label2, 0); 102 this.Controls.SetChildIndex(this.label3, 0); 103 this.Controls.SetChildIndex(this.rbHive, 0); 81 104 this.Controls.SetChildIndex(this.rbHL, 0); 82 this.Controls.SetChildIndex(this.label1, 0);83 this.Controls.SetChildIndex(this.rbHive, 0);84 this.Controls.SetChildIndex(this.label2, 0);85 105 this.Controls.SetChildIndex(this.wizardBanner, 0); 86 106 this.ResumeLayout(false); … … 95 115 private System.Windows.Forms.Label label2; 96 116 private System.Windows.Forms.RadioButton rbHive; 117 private System.Windows.Forms.Label label3; 97 118 } 98 119 } -
branches/DataAnalysisService/HeuristicLab.ExperimentGeneration.DataAnalysis.ExperimentWizard/3.3/SelectAnalysisPage.Designer.cs
r7824 r8033 29 29 this.rbMedium = new System.Windows.Forms.RadioButton(); 30 30 this.rbLarge = new System.Windows.Forms.RadioButton(); 31 this.rbCustom = new System.Windows.Forms.RadioButton();32 31 this.label2 = new System.Windows.Forms.Label(); 33 this.label3 = new System.Windows.Forms.Label(); 32 this.txtSmallAnalysis = new System.Windows.Forms.TextBox(); 33 this.txtMediumAnalysis = new System.Windows.Forms.TextBox(); 34 this.txtLargeAnalysis = new System.Windows.Forms.TextBox(); 34 35 this.SuspendLayout(); 35 36 // 36 37 // wizardBanner 37 38 // 38 this.wizardBanner.Size = new System.Drawing.Size( 408, 81);39 this.wizardBanner.Size = new System.Drawing.Size(640, 81); 39 40 this.wizardBanner.Subtitle = "Choose one of the predefiend data analysis scenarios or create a custom scenario." + 40 41 ""; … … 44 45 // 45 46 this.label4.AutoSize = true; 46 this.label4.Location = new System.Drawing.Point(3, 87); 47 this.label4.ForeColor = System.Drawing.SystemColors.InactiveCaptionText; 48 this.label4.Location = new System.Drawing.Point(71, 397); 47 49 this.label4.Name = "label4"; 48 50 this.label4.Size = new System.Drawing.Size(32, 13); … … 53 55 // 54 56 this.label1.AutoSize = true; 55 this.label1.Location = new System.Drawing.Point( 3, 106);57 this.label1.Location = new System.Drawing.Point(289, 397); 56 58 this.label1.Name = "label1"; 57 59 this.label1.Size = new System.Drawing.Size(44, 13); … … 62 64 // 63 65 this.rbSmall.AutoSize = true; 64 this.rbSmall.Location = new System.Drawing.Point(54, 87); 66 this.rbSmall.Enabled = false; 67 this.rbSmall.Location = new System.Drawing.Point(109, 397); 65 68 this.rbSmall.Name = "rbSmall"; 66 69 this.rbSmall.Size = new System.Drawing.Size(14, 13); … … 72 75 this.rbMedium.AutoSize = true; 73 76 this.rbMedium.Checked = true; 74 this.rbMedium.Location = new System.Drawing.Point( 54, 106);77 this.rbMedium.Location = new System.Drawing.Point(340, 397); 75 78 this.rbMedium.Name = "rbMedium"; 76 79 this.rbMedium.Size = new System.Drawing.Size(14, 13); … … 82 85 // 83 86 this.rbLarge.AutoSize = true; 84 this.rbLarge.Location = new System.Drawing.Point(54, 125); 87 this.rbLarge.Enabled = false; 88 this.rbLarge.Location = new System.Drawing.Point(540, 397); 85 89 this.rbLarge.Name = "rbLarge"; 86 90 this.rbLarge.Size = new System.Drawing.Size(14, 13); … … 88 92 this.rbLarge.UseVisualStyleBackColor = true; 89 93 // 90 // rbCustom91 //92 this.rbCustom.AutoSize = true;93 this.rbCustom.Location = new System.Drawing.Point(54, 144);94 this.rbCustom.Name = "rbCustom";95 this.rbCustom.Size = new System.Drawing.Size(14, 13);96 this.rbCustom.TabIndex = 6;97 this.rbCustom.UseVisualStyleBackColor = true;98 //99 94 // label2 100 95 // 101 96 this.label2.AutoSize = true; 102 this.label2.Location = new System.Drawing.Point(3, 125); 97 this.label2.ForeColor = System.Drawing.SystemColors.InactiveCaptionText; 98 this.label2.Location = new System.Drawing.Point(500, 397); 103 99 this.label2.Name = "label2"; 104 100 this.label2.Size = new System.Drawing.Size(34, 13); … … 106 102 this.label2.Text = "Large"; 107 103 // 108 // label3104 // txtSmallAnalysis 109 105 // 110 this.label3.AutoSize = true; 111 this.label3.Location = new System.Drawing.Point(3, 144); 112 this.label3.Name = "label3"; 113 this.label3.Size = new System.Drawing.Size(42, 13); 114 this.label3.TabIndex = 8; 115 this.label3.Text = "Custom"; 106 this.txtSmallAnalysis.BackColor = System.Drawing.Color.White; 107 this.txtSmallAnalysis.Location = new System.Drawing.Point(7, 87); 108 this.txtSmallAnalysis.Multiline = true; 109 this.txtSmallAnalysis.Name = "txtSmallAnalysis"; 110 this.txtSmallAnalysis.ReadOnly = true; 111 this.txtSmallAnalysis.Size = new System.Drawing.Size(205, 307); 112 this.txtSmallAnalysis.TabIndex = 9; 113 // 114 // txtMediumAnalysis 115 // 116 this.txtMediumAnalysis.BackColor = System.Drawing.Color.White; 117 this.txtMediumAnalysis.Location = new System.Drawing.Point(218, 87); 118 this.txtMediumAnalysis.Multiline = true; 119 this.txtMediumAnalysis.Name = "txtMediumAnalysis"; 120 this.txtMediumAnalysis.ReadOnly = true; 121 this.txtMediumAnalysis.Size = new System.Drawing.Size(205, 307); 122 this.txtMediumAnalysis.TabIndex = 10; 123 // 124 // txtLargeAnalysis 125 // 126 this.txtLargeAnalysis.BackColor = System.Drawing.Color.White; 127 this.txtLargeAnalysis.Location = new System.Drawing.Point(429, 87); 128 this.txtLargeAnalysis.Multiline = true; 129 this.txtLargeAnalysis.Name = "txtLargeAnalysis"; 130 this.txtLargeAnalysis.ReadOnly = true; 131 this.txtLargeAnalysis.Size = new System.Drawing.Size(205, 307); 132 this.txtLargeAnalysis.TabIndex = 11; 116 133 // 117 134 // SelectAnalysisPage 118 135 // 119 136 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 120 this.Controls.Add(this.label3); 137 this.Controls.Add(this.txtLargeAnalysis); 138 this.Controls.Add(this.txtMediumAnalysis); 139 this.Controls.Add(this.txtSmallAnalysis); 121 140 this.Controls.Add(this.label2); 122 this.Controls.Add(this.rbCustom);123 141 this.Controls.Add(this.rbLarge); 124 142 this.Controls.Add(this.rbMedium); … … 127 145 this.Controls.Add(this.label4); 128 146 this.Name = "SelectAnalysisPage"; 129 this.Size = new System.Drawing.Size( 408, 274);147 this.Size = new System.Drawing.Size(640, 480); 130 148 this.SetActive += new System.ComponentModel.CancelEventHandler(this.SelectAnalysisPage_SetActive); 131 149 this.WizardNext += new HeuristicLab.ExperimentGeneration.DataAnalysis.Wizard.WizardPageEventHandler(this.SelectAnalysisPage_WizardNext); … … 136 154 this.Controls.SetChildIndex(this.rbMedium, 0); 137 155 this.Controls.SetChildIndex(this.rbLarge, 0); 138 this.Controls.SetChildIndex(this.rbCustom, 0);139 156 this.Controls.SetChildIndex(this.label2, 0); 140 this.Controls.SetChildIndex(this.label3, 0); 157 this.Controls.SetChildIndex(this.txtSmallAnalysis, 0); 158 this.Controls.SetChildIndex(this.txtMediumAnalysis, 0); 159 this.Controls.SetChildIndex(this.txtLargeAnalysis, 0); 141 160 this.ResumeLayout(false); 142 161 this.PerformLayout(); … … 151 170 private System.Windows.Forms.RadioButton rbMedium; 152 171 private System.Windows.Forms.RadioButton rbLarge; 153 private System.Windows.Forms.RadioButton rbCustom;154 172 private System.Windows.Forms.Label label2; 155 private System.Windows.Forms.Label label3; 173 private System.Windows.Forms.TextBox txtSmallAnalysis; 174 private System.Windows.Forms.TextBox txtMediumAnalysis; 175 private System.Windows.Forms.TextBox txtLargeAnalysis; 156 176 } 157 177 } -
branches/DataAnalysisService/HeuristicLab.ExperimentGeneration.DataAnalysis.ExperimentWizard/3.3/SelectAnalysisPage.cs
r7824 r8033 3 3 namespace HeuristicLab.ExperimentGeneration.DataAnalysis.ExperimentWizard { 4 4 public partial class SelectAnalysisPage : HeuristicLab.ExperimentGeneration.DataAnalysis.Wizard.WizardPage { 5 private const string descMediumScenario = "Support Vector Regression \r\n" + 6 "Nu: 0.1 ... 0.9 \r\n" + 7 "Cost: 0.03125 ... 32768 \r\n" + 8 "Gama: 0.0000610352 ... 64 \r\n" + 9 "\r\n" + 10 "Random Forest Regression \r\n" + 11 "R: 0.1 ... 0.7 \r\n" + 12 "Number of trees: 250 \r\n" + 13 "\r\n" + 14 "Neural Network Regression \r\n" + 15 "Decay: 0.001 ... 100 \r\n" + 16 "NodesInFirstHiddenLayer: 1 ... 100 \r\n" + 17 "\r\n" + 18 "Offspring Selection Genetic Algorithm \r\n" + 19 "ComparisonFactorLowerBound: 1 \r\n" + 20 "MaximumEvaluatedSolutions: 500000 \r\n" + 21 "MaximumGenerations: 100 \r\n" + 22 "MutationProbability: 0.15 \r\n" + 23 "PopulationSize: 500 \r\n" + 24 "Max. Tree Depth: 8; 12; 17 \r\n" + 25 "Max. Tree Length: 25; 125; 250 \r\n"; 26 27 5 28 private DataAnalysisWizardContext context; 6 29 public DataAnalysisWizardContext Context { … … 11 34 InitializeComponent(); 12 35 this.context = context; 36 txtMediumAnalysis.Text = descMediumScenario; 13 37 } 14 38 … … 27 51 context.SelectedAnalysis = rbLarge.Text; 28 52 e.NewPage = "WizardPage"; 29 } else if (rbCustom.Checked) { 30 context.SelectedAnalysis = rbCustom.Text; 31 e.NewPage = "WizardPage"; 32 } else { 53 } 54 //else if (rbCustom.Checked) { 55 // context.SelectedAnalysis = rbCustom.Text; 56 // e.NewPage = "WizardPage"; 57 //} 58 else { 33 59 throw new SystemException("Undefined data analysis selected."); 34 60 }
Note: See TracChangeset
for help on using the changeset viewer.