Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/06/09 15:27:32 (15 years ago)
Author:
gkronber
Message:

Added text boxes to set min- and max allowed time offsets for time series modelling tasks in CEDMA problem view. #419 (Refactor CEDMA plugins)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/CEDMA-Refactoring-Ticket419/HeuristicLab.CEDMA.Core/ProblemView.Designer.cs

    r1043 r1277  
    5454      this.testSamplesStartTextBox = new System.Windows.Forms.TextBox();
    5555      this.testLabel = new System.Windows.Forms.Label();
    56       this.datasetView = new HeuristicLab.DataAnalysis.DatasetView();
    5756      this.targetsListBox = new System.Windows.Forms.CheckedListBox();
    5857      this.inputsListBox = new System.Windows.Forms.CheckedListBox();
     
    6261      this.partitioningGroupBox = new System.Windows.Forms.GroupBox();
    6362      this.openFileDialog = new System.Windows.Forms.OpenFileDialog();
    64       this.modelType = new System.Windows.Forms.ComboBox();
    65       this.taskLabel = new System.Windows.Forms.Label();
     63      this.classificationRadioButton = new System.Windows.Forms.RadioButton();
     64      this.regressionRadioButton = new System.Windows.Forms.RadioButton();
     65      this.timeSeriesRadioButton = new System.Windows.Forms.RadioButton();
     66      this.minTimeOffsetLabel = new System.Windows.Forms.Label();
     67      this.minTimeOffsetTextBox = new System.Windows.Forms.TextBox();
     68      this.learningTaskGroupBox = new System.Windows.Forms.GroupBox();
     69      this.autoregressiveLabel = new System.Windows.Forms.Label();
     70      this.maxTimeOffsetLabel = new System.Windows.Forms.Label();
     71      this.maxTimeOffsetTextBox = new System.Windows.Forms.TextBox();
     72      this.datasetView = new HeuristicLab.DataAnalysis.DatasetView();
    6673      this.targetsGroupBox.SuspendLayout();
    6774      this.inputsGroupBox.SuspendLayout();
    6875      this.partitioningGroupBox.SuspendLayout();
     76      this.learningTaskGroupBox.SuspendLayout();
    6977      this.SuspendLayout();
    7078      //
     
    127135      //
    128136      this.validationLabel.AutoSize = true;
    129       this.validationLabel.Location = new System.Drawing.Point(5, 48);
     137      this.validationLabel.Location = new System.Drawing.Point(5, 46);
    130138      this.validationLabel.Name = "validationLabel";
    131139      this.validationLabel.Size = new System.Drawing.Size(97, 13);
     
    159167      this.testLabel.TabIndex = 14;
    160168      this.testLabel.Text = "Test samples:";
    161       //
    162       // datasetView
    163       //
    164       this.datasetView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
    165                   | System.Windows.Forms.AnchorStyles.Left)
    166                   | System.Windows.Forms.AnchorStyles.Right)));
    167       this.datasetView.Caption = "Editor";
    168       this.datasetView.Dataset = null;
    169       this.datasetView.Filename = null;
    170       this.datasetView.Location = new System.Drawing.Point(3, 32);
    171       this.datasetView.Name = "datasetView";
    172       this.datasetView.Size = new System.Drawing.Size(326, 176);
    173       this.datasetView.TabIndex = 17;
    174169      //
    175170      // targetsListBox
     
    199194      // autoregressiveCheckBox
    200195      //
    201       this.autoregressiveCheckBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     196      this.autoregressiveCheckBox.Anchor = System.Windows.Forms.AnchorStyles.Top;
    202197      this.autoregressiveCheckBox.AutoSize = true;
    203       this.autoregressiveCheckBox.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
    204       this.autoregressiveCheckBox.Location = new System.Drawing.Point(215, 424);
     198      this.autoregressiveCheckBox.Enabled = false;
     199      this.autoregressiveCheckBox.Location = new System.Drawing.Point(131, 83);
    205200      this.autoregressiveCheckBox.Name = "autoregressiveCheckBox";
    206       this.autoregressiveCheckBox.Size = new System.Drawing.Size(102, 17);
     201      this.autoregressiveCheckBox.Size = new System.Drawing.Size(15, 14);
    207202      this.autoregressiveCheckBox.TabIndex = 22;
    208       this.autoregressiveCheckBox.Text = "Auto regressive:";
    209203      this.autoregressiveCheckBox.UseVisualStyleBackColor = true;
    210204      this.autoregressiveCheckBox.CheckedChanged += new System.EventHandler(this.autoregressiveCheckBox_CheckedChanged);
     
    214208      this.targetsGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
    215209      this.targetsGroupBox.Controls.Add(this.targetsListBox);
    216       this.targetsGroupBox.Location = new System.Drawing.Point(3, 320);
     210      this.targetsGroupBox.Location = new System.Drawing.Point(29, 515);
    217211      this.targetsGroupBox.Name = "targetsGroupBox";
    218212      this.targetsGroupBox.Size = new System.Drawing.Size(167, 100);
     
    225219      this.inputsGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
    226220      this.inputsGroupBox.Controls.Add(this.inputsListBox);
    227       this.inputsGroupBox.Location = new System.Drawing.Point(176, 320);
     221      this.inputsGroupBox.Location = new System.Drawing.Point(202, 515);
    228222      this.inputsGroupBox.Name = "inputsGroupBox";
    229223      this.inputsGroupBox.Size = new System.Drawing.Size(153, 100);
     
    244238      this.partitioningGroupBox.Controls.Add(this.testSamplesStartTextBox);
    245239      this.partitioningGroupBox.Controls.Add(this.testLabel);
    246       this.partitioningGroupBox.Location = new System.Drawing.Point(3, 214);
     240      this.partitioningGroupBox.Location = new System.Drawing.Point(29, 409);
    247241      this.partitioningGroupBox.Name = "partitioningGroupBox";
    248242      this.partitioningGroupBox.Size = new System.Drawing.Size(326, 100);
     
    258252      this.openFileDialog.Title = "Import data set from file";
    259253      //
    260       // modelType
    261       //
    262       this.modelType.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
    263       this.modelType.FormattingEnabled = true;
    264       this.modelType.Location = new System.Drawing.Point(88, 422);
    265       this.modelType.Name = "modelType";
    266       this.modelType.Size = new System.Drawing.Size(121, 21);
    267       this.modelType.TabIndex = 26;
    268       this.modelType.SelectedValueChanged += new System.EventHandler(this.modelType_SelectedValueChanged);
    269       //
    270       // taskLabel
    271       //
    272       this.taskLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
    273       this.taskLabel.AutoSize = true;
    274       this.taskLabel.Location = new System.Drawing.Point(8, 425);
    275       this.taskLabel.Name = "taskLabel";
    276       this.taskLabel.Size = new System.Drawing.Size(74, 13);
    277       this.taskLabel.TabIndex = 27;
    278       this.taskLabel.Text = "Learning task:";
     254      // classificationRadioButton
     255      //
     256      this.classificationRadioButton.AutoSize = true;
     257      this.classificationRadioButton.Checked = true;
     258      this.classificationRadioButton.Location = new System.Drawing.Point(6, 16);
     259      this.classificationRadioButton.Name = "classificationRadioButton";
     260      this.classificationRadioButton.Size = new System.Drawing.Size(86, 17);
     261      this.classificationRadioButton.TabIndex = 28;
     262      this.classificationRadioButton.TabStop = true;
     263      this.classificationRadioButton.Text = "Classification";
     264      this.classificationRadioButton.UseVisualStyleBackColor = true;
     265      this.classificationRadioButton.CheckedChanged += new System.EventHandler(this.radioButton_CheckedChanged);
     266      //
     267      // regressionRadioButton
     268      //
     269      this.regressionRadioButton.AutoSize = true;
     270      this.regressionRadioButton.Location = new System.Drawing.Point(6, 39);
     271      this.regressionRadioButton.Name = "regressionRadioButton";
     272      this.regressionRadioButton.Size = new System.Drawing.Size(78, 17);
     273      this.regressionRadioButton.TabIndex = 29;
     274      this.regressionRadioButton.Text = "Regression";
     275      this.regressionRadioButton.UseVisualStyleBackColor = true;
     276      this.regressionRadioButton.CheckedChanged += new System.EventHandler(this.radioButton_CheckedChanged);
     277      //
     278      // timeSeriesRadioButton
     279      //
     280      this.timeSeriesRadioButton.AutoSize = true;
     281      this.timeSeriesRadioButton.Location = new System.Drawing.Point(6, 62);
     282      this.timeSeriesRadioButton.Name = "timeSeriesRadioButton";
     283      this.timeSeriesRadioButton.Size = new System.Drawing.Size(119, 17);
     284      this.timeSeriesRadioButton.TabIndex = 30;
     285      this.timeSeriesRadioButton.Text = "Time series forecast";
     286      this.timeSeriesRadioButton.UseVisualStyleBackColor = true;
     287      this.timeSeriesRadioButton.CheckedChanged += new System.EventHandler(this.radioButton_CheckedChanged);
     288      //
     289      // minTimeOffsetLabel
     290      //
     291      this.minTimeOffsetLabel.AutoSize = true;
     292      this.minTimeOffsetLabel.Enabled = false;
     293      this.minTimeOffsetLabel.Location = new System.Drawing.Point(38, 106);
     294      this.minTimeOffsetLabel.Name = "minTimeOffsetLabel";
     295      this.minTimeOffsetLabel.Size = new System.Drawing.Size(87, 13);
     296      this.minTimeOffsetLabel.TabIndex = 31;
     297      this.minTimeOffsetLabel.Text = "Min. Time Offset:";
     298      //
     299      // minTimeOffsetTextBox
     300      //
     301      this.minTimeOffsetTextBox.Enabled = false;
     302      this.minTimeOffsetTextBox.Location = new System.Drawing.Point(131, 103);
     303      this.minTimeOffsetTextBox.Name = "minTimeOffsetTextBox";
     304      this.minTimeOffsetTextBox.Size = new System.Drawing.Size(96, 20);
     305      this.minTimeOffsetTextBox.TabIndex = 32;
     306      this.minTimeOffsetTextBox.Validated += new System.EventHandler(this.timeOffsetTextBox_Validated);
     307      this.minTimeOffsetTextBox.Validating += new System.ComponentModel.CancelEventHandler(this.timeOffsetTextBox_Validating);
     308      //
     309      // learningTaskGroupBox
     310      //
     311      this.learningTaskGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     312      this.learningTaskGroupBox.Controls.Add(this.autoregressiveLabel);
     313      this.learningTaskGroupBox.Controls.Add(this.classificationRadioButton);
     314      this.learningTaskGroupBox.Controls.Add(this.minTimeOffsetLabel);
     315      this.learningTaskGroupBox.Controls.Add(this.minTimeOffsetTextBox);
     316      this.learningTaskGroupBox.Controls.Add(this.maxTimeOffsetLabel);
     317      this.learningTaskGroupBox.Controls.Add(this.regressionRadioButton);
     318      this.learningTaskGroupBox.Controls.Add(this.maxTimeOffsetTextBox);
     319      this.learningTaskGroupBox.Controls.Add(this.timeSeriesRadioButton);
     320      this.learningTaskGroupBox.Controls.Add(this.autoregressiveCheckBox);
     321      this.learningTaskGroupBox.Location = new System.Drawing.Point(29, 621);
     322      this.learningTaskGroupBox.Name = "learningTaskGroupBox";
     323      this.learningTaskGroupBox.Size = new System.Drawing.Size(326, 163);
     324      this.learningTaskGroupBox.TabIndex = 35;
     325      this.learningTaskGroupBox.TabStop = false;
     326      this.learningTaskGroupBox.Text = "Learning task";
     327      //
     328      // autoregressiveLabel
     329      //
     330      this.autoregressiveLabel.AutoSize = true;
     331      this.autoregressiveLabel.Enabled = false;
     332      this.autoregressiveLabel.Location = new System.Drawing.Point(45, 83);
     333      this.autoregressiveLabel.Name = "autoregressiveLabel";
     334      this.autoregressiveLabel.Size = new System.Drawing.Size(80, 13);
     335      this.autoregressiveLabel.TabIndex = 35;
     336      this.autoregressiveLabel.Text = "Autoregressive:";
     337      //
     338      // maxTimeOffsetLabel
     339      //
     340      this.maxTimeOffsetLabel.AutoSize = true;
     341      this.maxTimeOffsetLabel.Enabled = false;
     342      this.maxTimeOffsetLabel.Location = new System.Drawing.Point(35, 132);
     343      this.maxTimeOffsetLabel.Name = "maxTimeOffsetLabel";
     344      this.maxTimeOffsetLabel.Size = new System.Drawing.Size(90, 13);
     345      this.maxTimeOffsetLabel.TabIndex = 33;
     346      this.maxTimeOffsetLabel.Text = "Max. Time Offset:";
     347      //
     348      // maxTimeOffsetTextBox
     349      //
     350      this.maxTimeOffsetTextBox.Enabled = false;
     351      this.maxTimeOffsetTextBox.Location = new System.Drawing.Point(131, 129);
     352      this.maxTimeOffsetTextBox.Name = "maxTimeOffsetTextBox";
     353      this.maxTimeOffsetTextBox.Size = new System.Drawing.Size(96, 20);
     354      this.maxTimeOffsetTextBox.TabIndex = 34;
     355      this.maxTimeOffsetTextBox.Validated += new System.EventHandler(this.timeOffsetTextBox_Validated);
     356      this.maxTimeOffsetTextBox.Validating += new System.ComponentModel.CancelEventHandler(this.timeOffsetTextBox_Validating);
     357      //
     358      // datasetView
     359      //
     360      this.datasetView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     361                  | System.Windows.Forms.AnchorStyles.Left)
     362                  | System.Windows.Forms.AnchorStyles.Right)));
     363      this.datasetView.Caption = "Editor";
     364      this.datasetView.Dataset = null;
     365      this.datasetView.Filename = null;
     366      this.datasetView.Location = new System.Drawing.Point(3, 32);
     367      this.datasetView.Name = "datasetView";
     368      this.datasetView.Size = new System.Drawing.Size(395, 371);
     369      this.datasetView.TabIndex = 17;
    279370      //
    280371      // ProblemView
     
    282373      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
    283374      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
    284       this.Controls.Add(this.taskLabel);
    285       this.Controls.Add(this.modelType);
     375      this.Controls.Add(this.learningTaskGroupBox);
    286376      this.Controls.Add(this.partitioningGroupBox);
    287377      this.Controls.Add(this.inputsGroupBox);
    288378      this.Controls.Add(this.targetsGroupBox);
    289       this.Controls.Add(this.autoregressiveCheckBox);
    290379      this.Controls.Add(this.datasetView);
    291380      this.Controls.Add(this.importButton);
    292381      this.Name = "ProblemView";
    293       this.Size = new System.Drawing.Size(337, 446);
     382      this.Size = new System.Drawing.Size(406, 787);
    294383      this.targetsGroupBox.ResumeLayout(false);
    295384      this.inputsGroupBox.ResumeLayout(false);
    296385      this.partitioningGroupBox.ResumeLayout(false);
    297386      this.partitioningGroupBox.PerformLayout();
     387      this.learningTaskGroupBox.ResumeLayout(false);
     388      this.learningTaskGroupBox.PerformLayout();
    298389      this.ResumeLayout(false);
    299       this.PerformLayout();
    300390
    301391    }
     
    321411    private System.Windows.Forms.GroupBox partitioningGroupBox;
    322412    private System.Windows.Forms.OpenFileDialog openFileDialog;
    323     private System.Windows.Forms.ComboBox modelType;
    324     private System.Windows.Forms.Label taskLabel;
     413    private System.Windows.Forms.RadioButton classificationRadioButton;
     414    private System.Windows.Forms.RadioButton regressionRadioButton;
     415    private System.Windows.Forms.RadioButton timeSeriesRadioButton;
     416    private System.Windows.Forms.Label minTimeOffsetLabel;
     417    private System.Windows.Forms.TextBox minTimeOffsetTextBox;
     418    private System.Windows.Forms.GroupBox learningTaskGroupBox;
     419    private System.Windows.Forms.Label maxTimeOffsetLabel;
     420    private System.Windows.Forms.TextBox maxTimeOffsetTextBox;
     421    private System.Windows.Forms.Label autoregressiveLabel;
    325422  }
    326423}
Note: See TracChangeset for help on using the changeset viewer.