Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/09/13 16:27:12 (12 years ago)
Author:
sforsten
Message:

#1998:

  • OneR handles missing values separately
  • adapted OneRClassificationModelView to show the class of missing values
  • with a double-click on the row header in ClassificationSolutionComparisonView the selected solution opens in a new view
  • put a try catch block around linear discriminant analysis solution (it is only shown, if it doesn't throw an exception)
Location:
branches/ClassificationModelComparison/HeuristicLab.Algorithms.DataAnalysis.Views/3.4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/ClassificationModelComparison/HeuristicLab.Algorithms.DataAnalysis.Views/3.4/OneRClassificationModelView.Designer.cs

    r9119 r9135  
    4646    private void InitializeComponent() {
    4747      this.dataGridView = new System.Windows.Forms.DataGridView();
    48       this.variableLabel = new System.Windows.Forms.Label();
    4948      this.intervalstart = new System.Windows.Forms.DataGridViewTextBoxColumn();
    5049      this.intervalend = new System.Windows.Forms.DataGridViewTextBoxColumn();
    5150      this.classcolumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     51      this.variableLabel = new System.Windows.Forms.Label();
     52      this.MissingValuesClassLabel = new System.Windows.Forms.Label();
    5253      ((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit();
    5354      this.SuspendLayout();
     
    6869      this.dataGridView.Name = "dataGridView";
    6970      this.dataGridView.ReadOnly = true;
    70       this.dataGridView.Size = new System.Drawing.Size(361, 196);
     71      this.dataGridView.Size = new System.Drawing.Size(389, 230);
    7172      this.dataGridView.TabIndex = 0;
    72       //
    73       // variableLabel
    74       //
    75       this.variableLabel.AutoSize = true;
    76       this.variableLabel.Location = new System.Drawing.Point(3, 10);
    77       this.variableLabel.Name = "variableLabel";
    78       this.variableLabel.Size = new System.Drawing.Size(48, 13);
    79       this.variableLabel.TabIndex = 1;
    80       this.variableLabel.Text = "Variable:";
    8173      //
    8274      // intervalstart
     
    9890      this.classcolumn.ReadOnly = true;
    9991      //
     92      // variableLabel
     93      //
     94      this.variableLabel.AutoSize = true;
     95      this.variableLabel.Location = new System.Drawing.Point(3, 10);
     96      this.variableLabel.Name = "variableLabel";
     97      this.variableLabel.Size = new System.Drawing.Size(48, 13);
     98      this.variableLabel.TabIndex = 1;
     99      this.variableLabel.Text = "Variable:";
     100      //
     101      // MissingValuesClassLabel
     102      //
     103      this.MissingValuesClassLabel.Anchor = System.Windows.Forms.AnchorStyles.Top;
     104      this.MissingValuesClassLabel.AutoSize = true;
     105      this.MissingValuesClassLabel.Location = new System.Drawing.Point(165, 10);
     106      this.MissingValuesClassLabel.Name = "MissingValuesClassLabel";
     107      this.MissingValuesClassLabel.Size = new System.Drawing.Size(118, 13);
     108      this.MissingValuesClassLabel.TabIndex = 2;
     109      this.MissingValuesClassLabel.Text = "Class of missing values:";
     110      //
    100111      // OneRClassificationModelView
    101112      //
    102113      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
    103114      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     115      this.Controls.Add(this.MissingValuesClassLabel);
    104116      this.Controls.Add(this.variableLabel);
    105117      this.Controls.Add(this.dataGridView);
    106118      this.Name = "OneRClassificationModelView";
    107       this.Size = new System.Drawing.Size(367, 231);
     119      this.Size = new System.Drawing.Size(395, 265);
    108120      ((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit();
    109121      this.ResumeLayout(false);
     
    119131    private System.Windows.Forms.DataGridViewTextBoxColumn intervalend;
    120132    private System.Windows.Forms.DataGridViewTextBoxColumn classcolumn;
     133    private System.Windows.Forms.Label MissingValuesClassLabel;
    121134  }
    122135}
  • branches/ClassificationModelComparison/HeuristicLab.Algorithms.DataAnalysis.Views/3.4/OneRClassificationModelView.cs

    r9119 r9135  
    4949        if (Content == null) {
    5050          variableLabel.Text = "Variable: ";
     51          MissingValuesClassLabel.Text = "Class of missing values: ";
    5152          dataGridView.Rows.Clear();
    5253        } else {
    5354          variableLabel.Text = "Variable: " + Content.Variable;
     55          MissingValuesClassLabel.Text = "Class of missing values: " + Content.MissingValuesClass;
    5456
    5557          dataGridView.RowCount = Content.Classes.Length;
Note: See TracChangeset for help on using the changeset viewer.