Changeset 8206 for branches/GP-MoveOperators/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression.Views/3.4/InteractiveSymbolicRegressionSolutionSimplifierView.cs
- Timestamp:
- 07/03/12 16:46:35 (12 years ago)
- Location:
- branches/GP-MoveOperators
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GP-MoveOperators
- Property svn:mergeinfo changed
/trunk/sources merged: 8084,8088-8090,8092-8100,8102-8113,8115,8117-8132,8134-8146,8148-8156,8158-8160,8163-8170,8173-8176,8178-8190,8192-8205
- Property svn:mergeinfo changed
-
branches/GP-MoveOperators/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression.Views/3.4/InteractiveSymbolicRegressionSolutionSimplifierView.cs
r7259 r8206 66 66 var interpreter = Content.Model.Interpreter; 67 67 var dataset = Content.ProblemData.Dataset; 68 var rows = Content.ProblemData.TrainingIndi zes;68 var rows = Content.ProblemData.TrainingIndices; 69 69 string targetVariable = Content.ProblemData.TargetVariable; 70 70 Dictionary<ISymbolicExpressionTreeNode, double> impactValues = new Dictionary<ISymbolicExpressionTreeNode, double>(); … … 106 106 start.AddSubtree((ISymbolicExpressionTreeNode)node.Clone()); 107 107 var interpreter = Content.Model.Interpreter; 108 var rows = Content.ProblemData.TrainingIndi zes;108 var rows = Content.ProblemData.TrainingIndices; 109 109 return interpreter.GetSymbolicExpressionTreeValues(tempTree, Content.ProblemData.Dataset, rows).Median(); 110 110 } … … 122 122 123 123 protected override void btnOptimizeConstants_Click(object sender, EventArgs e) { 124 SymbolicRegressionConstantOptimizationEvaluator.OptimizeConstants(Content.Model.Interpreter, Content.Model.SymbolicExpressionTree, Content.ProblemData, Content.ProblemData.TrainingIndi zes, 0.001, 0, 0.0001);124 SymbolicRegressionConstantOptimizationEvaluator.OptimizeConstants(Content.Model.Interpreter, Content.Model.SymbolicExpressionTree, Content.ProblemData, Content.ProblemData.TrainingIndices, 0.001, 0, 0.0001); 125 125 UpdateModel(Content.Model.SymbolicExpressionTree); 126 126 }
Note: See TracChangeset
for help on using the changeset viewer.