Changeset 2322 for trunk/sources
- Timestamp:
- 09/01/09 12:11:49 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.SupportVectorMachines/3.2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.SupportVectorMachines/3.2/SVMModel.cs
r2282 r2322 39 39 set { model = value; } 40 40 } 41 42 41 43 42 /// <summary> -
trunk/sources/HeuristicLab.SupportVectorMachines/3.2/SVMModelView.Designer.cs
r2156 r2322 50 50 this.rho = new System.Windows.Forms.TextBox(); 51 51 this.svmTypeLabel = new System.Windows.Forms.Label(); 52 this.costLabel = new System.Windows.Forms.Label();53 this.nuLabel = new System.Windows.Forms.Label();54 52 this.kernelTypeLabel = new System.Windows.Forms.Label(); 55 53 this.gammaLabel = new System.Windows.Forms.Label(); … … 57 55 this.kernelType = new System.Windows.Forms.TextBox(); 58 56 this.gamma = new System.Windows.Forms.TextBox(); 59 this.cost = new System.Windows.Forms.TextBox();60 this.nu = new System.Windows.Forms.TextBox();61 57 this.SuspendLayout(); 62 58 // … … 104 100 this.svmTypeLabel.Text = "SVM Type:"; 105 101 // 106 // costLabel107 //108 this.costLabel.AutoSize = true;109 this.costLabel.Location = new System.Drawing.Point(2, 137);110 this.costLabel.Name = "costLabel";111 this.costLabel.Size = new System.Drawing.Size(31, 13);112 this.costLabel.TabIndex = 5;113 this.costLabel.Text = "Cost:";114 //115 // nuLabel116 //117 this.nuLabel.AutoSize = true;118 this.nuLabel.Location = new System.Drawing.Point(3, 163);119 this.nuLabel.Name = "nuLabel";120 this.nuLabel.Size = new System.Drawing.Size(24, 13);121 this.nuLabel.TabIndex = 6;122 this.nuLabel.Text = "Nu:";123 //124 102 // kernelTypeLabel 125 103 // … … 164 142 this.gamma.TabIndex = 12; 165 143 // 166 // cost167 //168 this.cost.Location = new System.Drawing.Point(144, 134);169 this.cost.Name = "cost";170 this.cost.ReadOnly = true;171 this.cost.Size = new System.Drawing.Size(100, 20);172 this.cost.TabIndex = 14;173 //174 // nu175 //176 this.nu.Location = new System.Drawing.Point(144, 160);177 this.nu.Name = "nu";178 this.nu.ReadOnly = true;179 this.nu.Size = new System.Drawing.Size(100, 20);180 this.nu.TabIndex = 15;181 //182 144 // SVMModelView 183 145 // 184 146 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 185 147 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 186 this.Controls.Add(this.nu);187 this.Controls.Add(this.cost);188 148 this.Controls.Add(this.gamma); 189 149 this.Controls.Add(this.kernelType); … … 191 151 this.Controls.Add(this.gammaLabel); 192 152 this.Controls.Add(this.kernelTypeLabel); 193 this.Controls.Add(this.nuLabel);194 this.Controls.Add(this.costLabel);195 153 this.Controls.Add(this.svmTypeLabel); 196 154 this.Controls.Add(this.rho); … … 199 157 this.Controls.Add(this.numberSupportVectorsLabel); 200 158 this.Name = "SVMModelView"; 201 this.Size = new System.Drawing.Size(253, 1 89);159 this.Size = new System.Drawing.Size(253, 135); 202 160 this.ResumeLayout(false); 203 161 this.PerformLayout(); … … 212 170 private System.Windows.Forms.TextBox rho; 213 171 private System.Windows.Forms.Label svmTypeLabel; 214 private System.Windows.Forms.Label costLabel;215 private System.Windows.Forms.Label nuLabel;216 172 private System.Windows.Forms.Label kernelTypeLabel; 217 173 private System.Windows.Forms.Label gammaLabel; … … 219 175 private System.Windows.Forms.TextBox kernelType; 220 176 private System.Windows.Forms.TextBox gamma; 221 private System.Windows.Forms.TextBox cost;222 private System.Windows.Forms.TextBox nu;223 177 } 224 178 } -
trunk/sources/HeuristicLab.SupportVectorMachines/3.2/SVMModelView.cs
r2282 r2322 49 49 kernelType.Text = model.Model.Parameter.KernelType.ToString(); 50 50 gamma.Text = model.Model.Parameter.Gamma.ToString(); 51 cost.Text = model.Model.Parameter.C.ToString();52 nu.Text = model.Model.Parameter.Nu.ToString();53 51 } 54 52 }
Note: See TracChangeset
for help on using the changeset viewer.