Free cookie consent management tool by TermsFeed Policy Generator

Changeset 2322 for trunk/sources


Ignore:
Timestamp:
09/01/09 12:11:49 (15 years ago)
Author:
gkronber
Message:

Removed display of Nu and C in the SVMModelView because Nu and C are algorithm parameters and not model parameters. #727

Location:
trunk/sources/HeuristicLab.SupportVectorMachines/3.2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.SupportVectorMachines/3.2/SVMModel.cs

    r2282 r2322  
    3939      set { model = value; }
    4040    }
    41 
    4241
    4342    /// <summary>
  • trunk/sources/HeuristicLab.SupportVectorMachines/3.2/SVMModelView.Designer.cs

    r2156 r2322  
    5050      this.rho = new System.Windows.Forms.TextBox();
    5151      this.svmTypeLabel = new System.Windows.Forms.Label();
    52       this.costLabel = new System.Windows.Forms.Label();
    53       this.nuLabel = new System.Windows.Forms.Label();
    5452      this.kernelTypeLabel = new System.Windows.Forms.Label();
    5553      this.gammaLabel = new System.Windows.Forms.Label();
     
    5755      this.kernelType = new System.Windows.Forms.TextBox();
    5856      this.gamma = new System.Windows.Forms.TextBox();
    59       this.cost = new System.Windows.Forms.TextBox();
    60       this.nu = new System.Windows.Forms.TextBox();
    6157      this.SuspendLayout();
    6258      //
     
    104100      this.svmTypeLabel.Text = "SVM Type:";
    105101      //
    106       // costLabel
    107       //
    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       // nuLabel
    116       //
    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       //
    124102      // kernelTypeLabel
    125103      //
     
    164142      this.gamma.TabIndex = 12;
    165143      //
    166       // cost
    167       //
    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       // nu
    175       //
    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       //
    182144      // SVMModelView
    183145      //
    184146      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
    185147      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
    186       this.Controls.Add(this.nu);
    187       this.Controls.Add(this.cost);
    188148      this.Controls.Add(this.gamma);
    189149      this.Controls.Add(this.kernelType);
     
    191151      this.Controls.Add(this.gammaLabel);
    192152      this.Controls.Add(this.kernelTypeLabel);
    193       this.Controls.Add(this.nuLabel);
    194       this.Controls.Add(this.costLabel);
    195153      this.Controls.Add(this.svmTypeLabel);
    196154      this.Controls.Add(this.rho);
     
    199157      this.Controls.Add(this.numberSupportVectorsLabel);
    200158      this.Name = "SVMModelView";
    201       this.Size = new System.Drawing.Size(253, 189);
     159      this.Size = new System.Drawing.Size(253, 135);
    202160      this.ResumeLayout(false);
    203161      this.PerformLayout();
     
    212170    private System.Windows.Forms.TextBox rho;
    213171    private System.Windows.Forms.Label svmTypeLabel;
    214     private System.Windows.Forms.Label costLabel;
    215     private System.Windows.Forms.Label nuLabel;
    216172    private System.Windows.Forms.Label kernelTypeLabel;
    217173    private System.Windows.Forms.Label gammaLabel;
     
    219175    private System.Windows.Forms.TextBox kernelType;
    220176    private System.Windows.Forms.TextBox gamma;
    221     private System.Windows.Forms.TextBox cost;
    222     private System.Windows.Forms.TextBox nu;
    223177  }
    224178}
  • trunk/sources/HeuristicLab.SupportVectorMachines/3.2/SVMModelView.cs

    r2282 r2322  
    4949      kernelType.Text = model.Model.Parameter.KernelType.ToString();
    5050      gamma.Text = model.Model.Parameter.Gamma.ToString();
    51       cost.Text = model.Model.Parameter.C.ToString();
    52       nu.Text = model.Model.Parameter.Nu.ToString();
    5351    }
    5452  }
Note: See TracChangeset for help on using the changeset viewer.