- Timestamp:
- 06/18/12 10:14:49 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/SymbolicDiscriminantFunctionClassificationModel.cs
r7259 r8026 127 127 var rows = problemData.TrainingIndizes; 128 128 var estimatedValues = model.Interpreter.GetSymbolicExpressionTreeValues(model.SymbolicExpressionTree, dataset, rows); 129 var boundedEstimatedValues = estimatedValues.LimitToRange(model.LowerEstimationLimit, model.UpperEstimationLimit); 129 130 var targetValues = dataset.GetDoubleValues(targetVariable, rows); 130 131 double alpha; 131 132 double beta; 132 133 OnlineCalculatorError errorState; 133 OnlineLinearScalingParameterCalculator.Calculate( estimatedValues, targetValues, out alpha, out beta, out errorState);134 OnlineLinearScalingParameterCalculator.Calculate(boundedEstimatedValues, targetValues, out alpha, out beta, out errorState); 134 135 if (errorState != OnlineCalculatorError.None) return; 135 136
Note: See TracChangeset
for help on using the changeset viewer.