Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/23/18 14:10:15 (6 years ago)
Author:
pfleck
Message:

#2906 Implemented transformation re-apply of an already reverse-transformed model.

Location:
branches/2906_Transformations/HeuristicLab.Problems.DataAnalysis.Views/3.4
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2906_Transformations/HeuristicLab.Problems.DataAnalysis.Views/3.4/HeuristicLab.Problems.DataAnalysis.Views-3.4.csproj

    r15848 r15856  
    438438      <DependentUpon>TransformedRegressionModelView.cs</DependentUpon>
    439439    </Compile>
     440    <Compile Include="Solution Views\TransformedRegressionSolutionView.cs">
     441      <SubType>UserControl</SubType>
     442    </Compile>
     443    <Compile Include="Solution Views\TransformedRegressionSolutionView.Designer.cs">
     444      <DependentUpon>TransformedRegressionSolutionView.cs</DependentUpon>
     445    </Compile>
    440446    <Compile Include="Solution Views\ClassificationSolutionView.cs">
    441447      <SubType>UserControl</SubType>
  • branches/2906_Transformations/HeuristicLab.Problems.DataAnalysis.Views/3.4/Solution Views/RegressionSolutionView.Designer.cs

    r15846 r15856  
    4646    /// </summary>
    4747    private void InitializeComponent() {
    48       this.transformButton = new System.Windows.Forms.Button();
     48      this.TransformButton = new System.Windows.Forms.Button();
    4949      ((System.ComponentModel.ISupportInitialize)(this.splitContainer)).BeginInit();
    5050      this.splitContainer.Panel1.SuspendLayout();
     
    7070      this.toolTip.SetToolTip(this.removeButton, "Remove");
    7171      //
    72       // transformButton
     72      // TransformButton
    7373      //
    74       this.transformButton.Location = new System.Drawing.Point(117, 3);
    75       this.transformButton.Name = "transformButton";
    76       this.transformButton.Size = new System.Drawing.Size(75, 23);
    77       this.transformButton.TabIndex = 1;
    78       this.transformButton.Text = "Transform";
    79       this.transformButton.UseVisualStyleBackColor = true;
    80       this.transformButton.Click += new System.EventHandler(this.transformButton_Click);
     74      this.TransformButton.Location = new System.Drawing.Point(117, 3);
     75      this.TransformButton.Name = "TransformButton";
     76      this.TransformButton.Size = new System.Drawing.Size(75, 23);
     77      this.TransformButton.TabIndex = 1;
     78      this.TransformButton.Text = "Reverse Transformations";
     79      this.TransformButton.UseVisualStyleBackColor = true;
     80      this.TransformButton.Click += new System.EventHandler(this.transformButton_Click);
    8181      //
    8282      // RegressionSolutionView
     
    9696    #endregion
    9797
    98     private System.Windows.Forms.Button transformButton;
     98    protected System.Windows.Forms.Button TransformButton;
    9999  }
    100100}
  • branches/2906_Transformations/HeuristicLab.Problems.DataAnalysis.Views/3.4/Solution Views/RegressionSolutionView.cs

    r15847 r15856  
    3131    public RegressionSolutionView() {
    3232      InitializeComponent();
    33       flowLayoutPanel.Controls.Add(transformButton);
     33      flowLayoutPanel.Controls.Add(TransformButton);
    3434    }
    3535
     
    4141    protected override void SetEnabledStateOfControls() {
    4242      base.SetEnabledStateOfControls();
    43       transformButton.Visible = Content != null && Content.ProblemData.Transformations.Any();
     43      TransformButton.Visible = Content != null && Content.ProblemData.Transformations.Any();
    4444    }
    4545
     
    5959    #endregion
    6060
    61     private void transformButton_Click(object sender, System.EventArgs e) {
     61    protected virtual void transformButton_Click(object sender, System.EventArgs e) {
    6262      var transformedModel = new TransformedRegressionModel(Content.Model, Content.ProblemData.Transformations);
    6363      var originalProblemData = (IRegressionProblemData)Content.ProblemData.InverseTransform();
Note: See TracChangeset for help on using the changeset viewer.