Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/08/12 16:43:08 (12 years ago)
Author:
sforsten
Message:

#1942:

  • implemented changes suggested by mkommend in comment:15:ticket:1942 except the first remark
  • TimeSeriesPrognosisInstanceProvider has been adapted to work similar to other DataAnalysisInstanceProvider, also views have been created for it
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis.Views/3.3/ClassificationImportTypeDialog.Designer.cs

    r8877 r8885  
    1 namespace HeuristicLab.Problems.Instances.DataAnalysis.Views {
     1#region License Information
     2/* HeuristicLab
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     4 *
     5 * This file is part of HeuristicLab.
     6 *
     7 * HeuristicLab is free software: you can redistribute it and/or modify
     8 * it under the terms of the GNU General Public License as published by
     9 * the Free Software Foundation, either version 3 of the License, or
     10 * (at your option) any later version.
     11 *
     12 * HeuristicLab is distributed in the hope that it will be useful,
     13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 * GNU General Public License for more details.
     16 *
     17 * You should have received a copy of the GNU General Public License
     18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
     19 */
     20#endregion
     21
     22namespace HeuristicLab.Problems.Instances.DataAnalysis.Views {
    223  partial class ClassificationImportTypeDialog {
    324    /// <summary>
     
    2445    /// </summary>
    2546    private void InitializeComponent() {
     47      System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ClassificationImportTypeDialog));
    2648      this.TargetVariableComboBox = new System.Windows.Forms.ComboBox();
    2749      this.TargetVariableLabel = new System.Windows.Forms.Label();
    2850      this.TargetVariableInfoLabel = new System.Windows.Forms.Label();
     51      this.UniformDistributionOfClassesCheckbox = new System.Windows.Forms.CheckBox();
     52      this.UniformDistributClassValuesInfoLabel = new System.Windows.Forms.Label();
    2953      ((System.ComponentModel.ISupportInitialize)(this.TrainingTestTrackBar)).BeginInit();
    3054      this.CSVSettingsGroupBox.SuspendLayout();
     
    3256      this.SuspendLayout();
    3357      //
     58      // ShuffleDataCheckbox
     59      //
     60      this.ShuffleDataCheckbox.CheckedChanged += new System.EventHandler(this.ShuffleDataCheckbox_CheckedChanged);
     61      //
     62      // OkButton
     63      //
     64      this.OkButton.Location = new System.Drawing.Point(303, 464);
     65      //
     66      // TrainingTestTrackBar
     67      //
     68      this.TrainingTestTrackBar.Location = new System.Drawing.Point(6, 70);
     69      //
     70      // TestLabel
     71      //
     72      this.TestLabel.Location = new System.Drawing.Point(303, 95);
     73      //
     74      // TrainingLabel
     75      //
     76      this.TrainingLabel.Location = new System.Drawing.Point(76, 95);
     77      //
     78      // CancelationButton
     79      //
     80      this.CancelationButton.Location = new System.Drawing.Point(384, 464);
     81      //
    3482      // ProblemDataSettingsGroupBox
    3583      //
     84      this.ProblemDataSettingsGroupBox.Controls.Add(this.UniformDistributClassValuesInfoLabel);
    3685      this.ProblemDataSettingsGroupBox.Controls.Add(this.TargetVariableInfoLabel);
    3786      this.ProblemDataSettingsGroupBox.Controls.Add(this.TargetVariableLabel);
    3887      this.ProblemDataSettingsGroupBox.Controls.Add(this.TargetVariableComboBox);
    39       this.ProblemDataSettingsGroupBox.Controls.SetChildIndex(this.PreviewLabel, 0);
    40       this.ProblemDataSettingsGroupBox.Controls.SetChildIndex(this.ShuffelInfoLabel, 0);
     88      this.ProblemDataSettingsGroupBox.Controls.Add(this.UniformDistributionOfClassesCheckbox);
     89      this.ProblemDataSettingsGroupBox.Size = new System.Drawing.Size(447, 315);
     90      this.ProblemDataSettingsGroupBox.Controls.SetChildIndex(this.UniformDistributionOfClassesCheckbox, 0);
    4191      this.ProblemDataSettingsGroupBox.Controls.SetChildIndex(this.TargetVariableComboBox, 0);
    42       this.ProblemDataSettingsGroupBox.Controls.SetChildIndex(this.ShuffleDataCheckbox, 0);
    4392      this.ProblemDataSettingsGroupBox.Controls.SetChildIndex(this.TargetVariableLabel, 0);
    4493      this.ProblemDataSettingsGroupBox.Controls.SetChildIndex(this.TargetVariableInfoLabel, 0);
     94      this.ProblemDataSettingsGroupBox.Controls.SetChildIndex(this.UniformDistributClassValuesInfoLabel, 0);
     95      this.ProblemDataSettingsGroupBox.Controls.SetChildIndex(this.PreviewLabel, 0);
    4596      this.ProblemDataSettingsGroupBox.Controls.SetChildIndex(this.TrainingTestTrackBar, 0);
    4697      this.ProblemDataSettingsGroupBox.Controls.SetChildIndex(this.TrainingLabel, 0);
     98      this.ProblemDataSettingsGroupBox.Controls.SetChildIndex(this.TestLabel, 0);
     99      this.ProblemDataSettingsGroupBox.Controls.SetChildIndex(this.ShuffelInfoLabel, 0);
     100      this.ProblemDataSettingsGroupBox.Controls.SetChildIndex(this.ShuffleDataCheckbox, 0);
    47101      this.ProblemDataSettingsGroupBox.Controls.SetChildIndex(this.PreviewDatasetMatrix, 0);
    48       this.ProblemDataSettingsGroupBox.Controls.SetChildIndex(this.TestLabel, 0);
    49102      this.ProblemDataSettingsGroupBox.Controls.SetChildIndex(this.ErrorTextBox, 0);
    50103      //
     104      // ErrorTextBox
     105      //
     106      this.ErrorTextBox.Location = new System.Drawing.Point(6, 19);
     107      this.ErrorTextBox.Size = new System.Drawing.Size(435, 96);
     108      //
     109      // PreviewDatasetMatrix
     110      //
     111      this.PreviewDatasetMatrix.Location = new System.Drawing.Point(6, 134);
     112      this.PreviewDatasetMatrix.Size = new System.Drawing.Size(435, 175);
     113      //
     114      // PreviewLabel
     115      //
     116      this.PreviewLabel.Location = new System.Drawing.Point(6, 118);
     117      //
    51118      // TargetVariableComboBox
    52119      //
    53120      this.TargetVariableComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
    54                   | System.Windows.Forms.AnchorStyles.Right)));
     121            | System.Windows.Forms.AnchorStyles.Right)));
    55122      this.TargetVariableComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
    56123      this.TargetVariableComboBox.FormattingEnabled = true;
    57       this.TargetVariableComboBox.Location = new System.Drawing.Point(230, 19);
     124      this.TargetVariableComboBox.Location = new System.Drawing.Point(94, 43);
    58125      this.TargetVariableComboBox.Name = "TargetVariableComboBox";
    59       this.TargetVariableComboBox.Size = new System.Drawing.Size(181, 21);
     126      this.TargetVariableComboBox.Size = new System.Drawing.Size(317, 21);
    60127      this.TargetVariableComboBox.TabIndex = 10;
    61128      //
     
    63130      //
    64131      this.TargetVariableLabel.AutoSize = true;
    65       this.TargetVariableLabel.Location = new System.Drawing.Point(142, 22);
     132      this.TargetVariableLabel.Location = new System.Drawing.Point(6, 46);
    66133      this.TargetVariableLabel.Name = "TargetVariableLabel";
    67134      this.TargetVariableLabel.Size = new System.Drawing.Size(82, 13);
     
    69136      this.TargetVariableLabel.Text = "Target Variable:";
    70137      //
    71       // TargetVariableinfoLabel
    72       //
    73       this.TargetVariableInfoLabel.Location = new System.Drawing.Point(421, 21);
    74       this.TargetVariableInfoLabel.Name = "Target Variable Info";
     138      // TargetVariableInfoLabel
     139      //
     140      this.TargetVariableInfoLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     141      this.TargetVariableInfoLabel.Image = HeuristicLab.Common.Resources.VSImageLibrary.Information;
     142      this.TargetVariableInfoLabel.Location = new System.Drawing.Point(421, 45);
     143      this.TargetVariableInfoLabel.Name = "TargetVariableInfoLabel";
    75144      this.TargetVariableInfoLabel.Size = new System.Drawing.Size(16, 16);
    76145      this.TargetVariableInfoLabel.TabIndex = 21;
    77146      this.TargetVariableInfoLabel.Tag = "Select the target variable of the csv file.";
    78       this.TargetVariableInfoLabel.Image = HeuristicLab.Common.Resources.VSImageLibrary.Information;
     147      this.ToolTip.SetToolTip(this.TargetVariableInfoLabel, (string)this.TargetVariableInfoLabel.Tag);
    79148      this.TargetVariableInfoLabel.DoubleClick += new System.EventHandler(this.ControlToolTip_DoubleClick);
     149      //
     150      // UniformDistributionOfClassesCheckbox
     151      //
     152      this.UniformDistributionOfClassesCheckbox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     153      this.UniformDistributionOfClassesCheckbox.AutoSize = true;
     154      this.UniformDistributionOfClassesCheckbox.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
     155      this.UniformDistributionOfClassesCheckbox.Enabled = false;
     156      this.UniformDistributionOfClassesCheckbox.Location = new System.Drawing.Point(259, 19);
     157      this.UniformDistributionOfClassesCheckbox.Name = "UniformDistributionOfClassesCheckbox";
     158      this.UniformDistributionOfClassesCheckbox.Size = new System.Drawing.Size(152, 17);
     159      this.UniformDistributionOfClassesCheckbox.TabIndex = 22;
     160      this.UniformDistributionOfClassesCheckbox.Text = "Uniformly distribute classes";
     161      this.UniformDistributionOfClassesCheckbox.UseVisualStyleBackColor = true;
     162      //
     163      // UniformDistributClassValuesInfoLabel
     164      //
     165      this.UniformDistributClassValuesInfoLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     166      this.UniformDistributClassValuesInfoLabel.Image = HeuristicLab.Common.Resources.VSImageLibrary.Information;
     167      this.UniformDistributClassValuesInfoLabel.Location = new System.Drawing.Point(421, 20);
     168      this.UniformDistributClassValuesInfoLabel.Name = "UniformDistributClassValuesInfoLabel";
     169      this.UniformDistributClassValuesInfoLabel.Size = new System.Drawing.Size(16, 16);
     170      this.UniformDistributClassValuesInfoLabel.TabIndex = 23;
     171      this.UniformDistributClassValuesInfoLabel.Tag = "Check, if classes should be distributed uniformly between training and test. This" +
     172    " can change the distribution of training and test a little bit.";
     173      this.ToolTip.SetToolTip(this.UniformDistributClassValuesInfoLabel, (string)this.UniformDistributClassValuesInfoLabel.Tag);
     174      this.UniformDistributClassValuesInfoLabel.DoubleClick += new System.EventHandler(this.ControlToolTip_DoubleClick);
    80175      //
    81176      // ClassificationImportTypeDialog
     
    83178      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
    84179      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
    85       this.ClientSize = new System.Drawing.Size(471, 442);
     180      this.ClientSize = new System.Drawing.Size(471, 499);
    86181      this.Name = "ClassificationImportTypeDialog";
    87182      this.Text = "Classification CSV Import";
     
    95190
    96191    }
    97 
    98192    #endregion
    99193
    100     private System.Windows.Forms.ComboBox TargetVariableComboBox;
    101     private System.Windows.Forms.Label TargetVariableLabel;
     194    protected System.Windows.Forms.ComboBox TargetVariableComboBox;
     195    protected System.Windows.Forms.Label TargetVariableLabel;
    102196    protected System.Windows.Forms.Label TargetVariableInfoLabel;
    103 
    104 
     197    protected System.Windows.Forms.Label UniformDistributClassValuesInfoLabel;
     198    protected System.Windows.Forms.CheckBox UniformDistributionOfClassesCheckbox;
    105199  }
    106200}
Note: See TracChangeset for help on using the changeset viewer.