Free cookie consent management tool by TermsFeed Policy Generator

Changeset 8033


Ignore:
Timestamp:
06/18/12 13:45:43 (10 years ago)
Author:
spimming
Message:

#1807:

  • scenario description added
  • page size fixed
Location:
branches/DataAnalysisService/HeuristicLab.ExperimentGeneration.DataAnalysis.ExperimentWizard/3.3
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/DataAnalysisService/HeuristicLab.ExperimentGeneration.DataAnalysis.ExperimentWizard/3.3/ResultPage.Designer.cs

    r7944 r8033  
    2828      this.label2 = new System.Windows.Forms.Label();
    2929      this.rbHive = new System.Windows.Forms.RadioButton();
     30      this.label3 = new System.Windows.Forms.Label();
    3031      this.SuspendLayout();
     32      //
     33      // wizardBanner
     34      //
     35      this.wizardBanner.Size = new System.Drawing.Size(640, 81);
     36      this.wizardBanner.Subtitle = "Choose next step and click Finish to exit the wizard.";
     37      this.wizardBanner.Title = "Experiment Created";
    3138      //
    3239      // rbHL
     
    3441      this.rbHL.AutoSize = true;
    3542      this.rbHL.Checked = true;
    36       this.rbHL.Location = new System.Drawing.Point(179, 87);
     43      this.rbHL.Location = new System.Drawing.Point(198, 143);
    3744      this.rbHL.Name = "rbHL";
    3845      this.rbHL.Size = new System.Drawing.Size(14, 13);
     
    4451      //
    4552      this.label1.AutoSize = true;
    46       this.label1.Location = new System.Drawing.Point(0, 87);
     53      this.label1.Location = new System.Drawing.Point(7, 143);
    4754      this.label1.Name = "label1";
    4855      this.label1.Size = new System.Drawing.Size(173, 13);
     
    5360      //
    5461      this.label2.AutoSize = true;
    55       this.label2.Location = new System.Drawing.Point(0, 113);
     62      this.label2.Location = new System.Drawing.Point(7, 184);
    5663      this.label2.Name = "label2";
    5764      this.label2.Size = new System.Drawing.Size(146, 13);
     
    6269      //
    6370      this.rbHive.AutoSize = true;
    64       this.rbHive.Location = new System.Drawing.Point(179, 113);
     71      this.rbHive.Location = new System.Drawing.Point(198, 184);
    6572      this.rbHive.Name = "rbHive";
    6673      this.rbHive.Size = new System.Drawing.Size(14, 13);
     
    6875      this.rbHive.UseVisualStyleBackColor = true;
    6976      //
     77      // label3
     78      //
     79      this.label3.AutoSize = true;
     80      this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     81      this.label3.Location = new System.Drawing.Point(6, 88);
     82      this.label3.Name = "label3";
     83      this.label3.Size = new System.Drawing.Size(308, 20);
     84      this.label3.TabIndex = 5;
     85      this.label3.Text = "Your experiment was created successfully.";
     86      //
    7087      // ResultPage
    7188      //
    7289      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     90      this.Controls.Add(this.rbHL);
     91      this.Controls.Add(this.rbHive);
     92      this.Controls.Add(this.label3);
    7393      this.Controls.Add(this.label2);
    74       this.Controls.Add(this.rbHive);
    7594      this.Controls.Add(this.label1);
    76       this.Controls.Add(this.rbHL);
    7795      this.Name = "ResultPage";
     96      this.Size = new System.Drawing.Size(640, 480);
    7897      this.SetActive += new System.ComponentModel.CancelEventHandler(this.ResultPage_SetActive);
    7998      this.WizardCommit += new System.ComponentModel.CancelEventHandler(this.ResultPage_WizardCommit);
    8099      this.WizardBack += new HeuristicLab.ExperimentGeneration.DataAnalysis.Wizard.WizardPageEventHandler(this.ResultPage_WizardBack);
     100      this.Controls.SetChildIndex(this.label1, 0);
     101      this.Controls.SetChildIndex(this.label2, 0);
     102      this.Controls.SetChildIndex(this.label3, 0);
     103      this.Controls.SetChildIndex(this.rbHive, 0);
    81104      this.Controls.SetChildIndex(this.rbHL, 0);
    82       this.Controls.SetChildIndex(this.label1, 0);
    83       this.Controls.SetChildIndex(this.rbHive, 0);
    84       this.Controls.SetChildIndex(this.label2, 0);
    85105      this.Controls.SetChildIndex(this.wizardBanner, 0);
    86106      this.ResumeLayout(false);
     
    95115    private System.Windows.Forms.Label label2;
    96116    private System.Windows.Forms.RadioButton rbHive;
     117    private System.Windows.Forms.Label label3;
    97118  }
    98119}
  • branches/DataAnalysisService/HeuristicLab.ExperimentGeneration.DataAnalysis.ExperimentWizard/3.3/SelectAnalysisPage.Designer.cs

    r7824 r8033  
    2929      this.rbMedium = new System.Windows.Forms.RadioButton();
    3030      this.rbLarge = new System.Windows.Forms.RadioButton();
    31       this.rbCustom = new System.Windows.Forms.RadioButton();
    3231      this.label2 = new System.Windows.Forms.Label();
    33       this.label3 = new System.Windows.Forms.Label();
     32      this.txtSmallAnalysis = new System.Windows.Forms.TextBox();
     33      this.txtMediumAnalysis = new System.Windows.Forms.TextBox();
     34      this.txtLargeAnalysis = new System.Windows.Forms.TextBox();
    3435      this.SuspendLayout();
    3536      //
    3637      // wizardBanner
    3738      //
    38       this.wizardBanner.Size = new System.Drawing.Size(408, 81);
     39      this.wizardBanner.Size = new System.Drawing.Size(640, 81);
    3940      this.wizardBanner.Subtitle = "Choose one of the predefiend data analysis scenarios or create a custom scenario." +
    4041    "";
     
    4445      //
    4546      this.label4.AutoSize = true;
    46       this.label4.Location = new System.Drawing.Point(3, 87);
     47      this.label4.ForeColor = System.Drawing.SystemColors.InactiveCaptionText;
     48      this.label4.Location = new System.Drawing.Point(71, 397);
    4749      this.label4.Name = "label4";
    4850      this.label4.Size = new System.Drawing.Size(32, 13);
     
    5355      //
    5456      this.label1.AutoSize = true;
    55       this.label1.Location = new System.Drawing.Point(3, 106);
     57      this.label1.Location = new System.Drawing.Point(289, 397);
    5658      this.label1.Name = "label1";
    5759      this.label1.Size = new System.Drawing.Size(44, 13);
     
    6264      //
    6365      this.rbSmall.AutoSize = true;
    64       this.rbSmall.Location = new System.Drawing.Point(54, 87);
     66      this.rbSmall.Enabled = false;
     67      this.rbSmall.Location = new System.Drawing.Point(109, 397);
    6568      this.rbSmall.Name = "rbSmall";
    6669      this.rbSmall.Size = new System.Drawing.Size(14, 13);
     
    7275      this.rbMedium.AutoSize = true;
    7376      this.rbMedium.Checked = true;
    74       this.rbMedium.Location = new System.Drawing.Point(54, 106);
     77      this.rbMedium.Location = new System.Drawing.Point(340, 397);
    7578      this.rbMedium.Name = "rbMedium";
    7679      this.rbMedium.Size = new System.Drawing.Size(14, 13);
     
    8285      //
    8386      this.rbLarge.AutoSize = true;
    84       this.rbLarge.Location = new System.Drawing.Point(54, 125);
     87      this.rbLarge.Enabled = false;
     88      this.rbLarge.Location = new System.Drawing.Point(540, 397);
    8589      this.rbLarge.Name = "rbLarge";
    8690      this.rbLarge.Size = new System.Drawing.Size(14, 13);
     
    8892      this.rbLarge.UseVisualStyleBackColor = true;
    8993      //
    90       // rbCustom
    91       //
    92       this.rbCustom.AutoSize = true;
    93       this.rbCustom.Location = new System.Drawing.Point(54, 144);
    94       this.rbCustom.Name = "rbCustom";
    95       this.rbCustom.Size = new System.Drawing.Size(14, 13);
    96       this.rbCustom.TabIndex = 6;
    97       this.rbCustom.UseVisualStyleBackColor = true;
    98       //
    9994      // label2
    10095      //
    10196      this.label2.AutoSize = true;
    102       this.label2.Location = new System.Drawing.Point(3, 125);
     97      this.label2.ForeColor = System.Drawing.SystemColors.InactiveCaptionText;
     98      this.label2.Location = new System.Drawing.Point(500, 397);
    10399      this.label2.Name = "label2";
    104100      this.label2.Size = new System.Drawing.Size(34, 13);
     
    106102      this.label2.Text = "Large";
    107103      //
    108       // label3
     104      // txtSmallAnalysis
    109105      //
    110       this.label3.AutoSize = true;
    111       this.label3.Location = new System.Drawing.Point(3, 144);
    112       this.label3.Name = "label3";
    113       this.label3.Size = new System.Drawing.Size(42, 13);
    114       this.label3.TabIndex = 8;
    115       this.label3.Text = "Custom";
     106      this.txtSmallAnalysis.BackColor = System.Drawing.Color.White;
     107      this.txtSmallAnalysis.Location = new System.Drawing.Point(7, 87);
     108      this.txtSmallAnalysis.Multiline = true;
     109      this.txtSmallAnalysis.Name = "txtSmallAnalysis";
     110      this.txtSmallAnalysis.ReadOnly = true;
     111      this.txtSmallAnalysis.Size = new System.Drawing.Size(205, 307);
     112      this.txtSmallAnalysis.TabIndex = 9;
     113      //
     114      // txtMediumAnalysis
     115      //
     116      this.txtMediumAnalysis.BackColor = System.Drawing.Color.White;
     117      this.txtMediumAnalysis.Location = new System.Drawing.Point(218, 87);
     118      this.txtMediumAnalysis.Multiline = true;
     119      this.txtMediumAnalysis.Name = "txtMediumAnalysis";
     120      this.txtMediumAnalysis.ReadOnly = true;
     121      this.txtMediumAnalysis.Size = new System.Drawing.Size(205, 307);
     122      this.txtMediumAnalysis.TabIndex = 10;
     123      //
     124      // txtLargeAnalysis
     125      //
     126      this.txtLargeAnalysis.BackColor = System.Drawing.Color.White;
     127      this.txtLargeAnalysis.Location = new System.Drawing.Point(429, 87);
     128      this.txtLargeAnalysis.Multiline = true;
     129      this.txtLargeAnalysis.Name = "txtLargeAnalysis";
     130      this.txtLargeAnalysis.ReadOnly = true;
     131      this.txtLargeAnalysis.Size = new System.Drawing.Size(205, 307);
     132      this.txtLargeAnalysis.TabIndex = 11;
    116133      //
    117134      // SelectAnalysisPage
    118135      //
    119136      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
    120       this.Controls.Add(this.label3);
     137      this.Controls.Add(this.txtLargeAnalysis);
     138      this.Controls.Add(this.txtMediumAnalysis);
     139      this.Controls.Add(this.txtSmallAnalysis);
    121140      this.Controls.Add(this.label2);
    122       this.Controls.Add(this.rbCustom);
    123141      this.Controls.Add(this.rbLarge);
    124142      this.Controls.Add(this.rbMedium);
     
    127145      this.Controls.Add(this.label4);
    128146      this.Name = "SelectAnalysisPage";
    129       this.Size = new System.Drawing.Size(408, 274);
     147      this.Size = new System.Drawing.Size(640, 480);
    130148      this.SetActive += new System.ComponentModel.CancelEventHandler(this.SelectAnalysisPage_SetActive);
    131149      this.WizardNext += new HeuristicLab.ExperimentGeneration.DataAnalysis.Wizard.WizardPageEventHandler(this.SelectAnalysisPage_WizardNext);
     
    136154      this.Controls.SetChildIndex(this.rbMedium, 0);
    137155      this.Controls.SetChildIndex(this.rbLarge, 0);
    138       this.Controls.SetChildIndex(this.rbCustom, 0);
    139156      this.Controls.SetChildIndex(this.label2, 0);
    140       this.Controls.SetChildIndex(this.label3, 0);
     157      this.Controls.SetChildIndex(this.txtSmallAnalysis, 0);
     158      this.Controls.SetChildIndex(this.txtMediumAnalysis, 0);
     159      this.Controls.SetChildIndex(this.txtLargeAnalysis, 0);
    141160      this.ResumeLayout(false);
    142161      this.PerformLayout();
     
    151170    private System.Windows.Forms.RadioButton rbMedium;
    152171    private System.Windows.Forms.RadioButton rbLarge;
    153     private System.Windows.Forms.RadioButton rbCustom;
    154172    private System.Windows.Forms.Label label2;
    155     private System.Windows.Forms.Label label3;
     173    private System.Windows.Forms.TextBox txtSmallAnalysis;
     174    private System.Windows.Forms.TextBox txtMediumAnalysis;
     175    private System.Windows.Forms.TextBox txtLargeAnalysis;
    156176  }
    157177}
  • branches/DataAnalysisService/HeuristicLab.ExperimentGeneration.DataAnalysis.ExperimentWizard/3.3/SelectAnalysisPage.cs

    r7824 r8033  
    33namespace HeuristicLab.ExperimentGeneration.DataAnalysis.ExperimentWizard {
    44  public partial class SelectAnalysisPage : HeuristicLab.ExperimentGeneration.DataAnalysis.Wizard.WizardPage {
     5    private const string descMediumScenario = "Support Vector Regression \r\n" +
     6                                               "Nu: 0.1 ... 0.9 \r\n" +
     7                                               "Cost: 0.03125 ... 32768 \r\n" +
     8                                               "Gama: 0.0000610352 ... 64 \r\n" +
     9                                               "\r\n" +
     10                                               "Random Forest Regression \r\n" +
     11                                               "R: 0.1 ... 0.7 \r\n" +
     12                                               "Number of trees: 250 \r\n" +
     13                                               "\r\n" +
     14                                               "Neural Network Regression \r\n" +
     15                                               "Decay: 0.001 ... 100 \r\n" +
     16                                               "NodesInFirstHiddenLayer: 1 ... 100 \r\n" +
     17                                               "\r\n" +
     18                                               "Offspring Selection Genetic Algorithm \r\n" +
     19                                               "ComparisonFactorLowerBound: 1 \r\n" +
     20                                               "MaximumEvaluatedSolutions: 500000 \r\n" +
     21                                               "MaximumGenerations: 100 \r\n" +
     22                                               "MutationProbability: 0.15 \r\n" +
     23                                               "PopulationSize: 500 \r\n" +
     24                                               "Max. Tree Depth: 8; 12; 17 \r\n" +
     25                                               "Max. Tree Length: 25; 125; 250 \r\n";
     26
     27
    528    private DataAnalysisWizardContext context;
    629    public DataAnalysisWizardContext Context {
     
    1134      InitializeComponent();
    1235      this.context = context;
     36      txtMediumAnalysis.Text = descMediumScenario;
    1337    }
    1438
     
    2751        context.SelectedAnalysis = rbLarge.Text;
    2852        e.NewPage = "WizardPage";
    29       } else if (rbCustom.Checked) {
    30         context.SelectedAnalysis = rbCustom.Text;
    31         e.NewPage = "WizardPage";
    32       } else {
     53      }
     54        //else if (rbCustom.Checked) {
     55        //  context.SelectedAnalysis = rbCustom.Text;
     56        //  e.NewPage = "WizardPage";
     57        //}
     58      else {
    3359        throw new SystemException("Undefined data analysis selected.");
    3460      }
Note: See TracChangeset for help on using the changeset viewer.