Changeset 15280 for branches/Async/HeuristicLab.Problems.DataAnalysis.Symbolic.TimeSeriesPrognosis.Views/3.4/InteractiveSymbolicTimeSeriesPrognosisSolutionSimplifierView.cs
- Timestamp:
- 07/23/17 00:52:14 (7 years ago)
- Location:
- branches/Async
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Async
- Property svn:mergeinfo changed
-
branches/Async/HeuristicLab.Problems.DataAnalysis.Symbolic.TimeSeriesPrognosis.Views/3.4/InteractiveSymbolicTimeSeriesPrognosisSolutionSimplifierView.cs
r12641 r15280 75 75 // impact < 0 if new solution is better 76 76 // impact > 0 if new solution is worse 77 double impact = (originalR *originalR) - (newR*newR);77 double impact = (originalR * originalR) - (newR * newR); 78 78 impactAndReplacementValues[node] = new Tuple<double, double>(impact, constantNode.Value); 79 79 SwitchNode(parent, replacementNode, node); … … 83 83 84 84 protected override void UpdateModel(ISymbolicExpressionTree tree) { 85 var model = new SymbolicTimeSeriesPrognosisModel( tree, Content.Model.Interpreter);85 var model = new SymbolicTimeSeriesPrognosisModel(Content.ProblemData.TargetVariable, tree, Content.Model.Interpreter); 86 86 model.Scale(Content.ProblemData); 87 87 Content.Model = model;
Note: See TracChangeset
for help on using the changeset viewer.