Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/23/11 16:28:50 (13 years ago)
Author:
mkommend
Message:

#1478: Added optimize button in symbolic regression simplifier view.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression.Views/3.4/InteractiveSymbolicRegressionSolutionSimplifierView.cs

    r5993 r6256  
    2222using System;
    2323using System.Collections.Generic;
    24 using System.Drawing;
    2524using System.Linq;
    26 using System.Windows.Forms;
    2725using HeuristicLab.Common;
    28 using HeuristicLab.MainForm.WindowsForms;
     26using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
    2927using HeuristicLab.Problems.DataAnalysis.Symbolic.Views;
    30 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
    3128
    3229namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Regression.Views {
     
    123120      }
    124121    }
     122
     123    protected override void btnOptimizeConstants_Click(object sender, EventArgs e) {
     124      SymbolicRegressionConstantOptimizationEvaluator.OptimizeConstants(Content.Model.Interpreter, Content.Model.SymbolicExpressionTree, Content.ProblemData, Content.ProblemData.TrainingIndizes, 0, 10);
     125      UpdateModel(Content.Model.SymbolicExpressionTree);
     126    }
    125127  }
    126128}
Note: See TracChangeset for help on using the changeset viewer.