Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/18/12 10:55:52 (12 years ago)
Author:
gkronber
Message:

#1874: reverted r8026. The behaviour of calculating the scaling parameters based on the unbounded values is intentional.

File:
1 edited

Legend:

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

    r8026 r8030  
    7575      var rows = problemData.TrainingIndizes;
    7676      var estimatedValues = model.Interpreter.GetSymbolicExpressionTreeValues(model.SymbolicExpressionTree, dataset, rows);
    77       var boundedEstimatedValues = estimatedValues.LimitToRange(model.LowerEstimationLimit, model.UpperEstimationLimit);
    7877      var targetValues = dataset.GetDoubleValues(targetVariable, rows);
    7978      double alpha;
    8079      double beta;
    8180      OnlineCalculatorError errorState;
    82       OnlineLinearScalingParameterCalculator.Calculate(boundedEstimatedValues, targetValues, out alpha, out beta, out errorState);
     81      OnlineLinearScalingParameterCalculator.Calculate(estimatedValues, targetValues, out alpha, out beta, out errorState);
    8382      if (errorState != OnlineCalculatorError.None) return;
    8483
Note: See TracChangeset for help on using the changeset viewer.