Changeset 8030 for trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SymbolicRegressionModel.cs
- Timestamp:
- 06/18/12 10:55:52 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SymbolicRegressionModel.cs
r8026 r8030 75 75 var rows = problemData.TrainingIndizes; 76 76 var estimatedValues = model.Interpreter.GetSymbolicExpressionTreeValues(model.SymbolicExpressionTree, dataset, rows); 77 var boundedEstimatedValues = estimatedValues.LimitToRange(model.LowerEstimationLimit, model.UpperEstimationLimit);78 77 var targetValues = dataset.GetDoubleValues(targetVariable, rows); 79 78 double alpha; 80 79 double beta; 81 80 OnlineCalculatorError errorState; 82 OnlineLinearScalingParameterCalculator.Calculate( boundedEstimatedValues, targetValues, out alpha, out beta, out errorState);81 OnlineLinearScalingParameterCalculator.Calculate(estimatedValues, targetValues, out alpha, out beta, out errorState); 83 82 if (errorState != OnlineCalculatorError.None) return; 84 83
Note: See TracChangeset
for help on using the changeset viewer.