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.Classification/3.4/SymbolicDiscriminantFunctionClassificationModel.cs

    r8026 r8030  
    127127      var rows = problemData.TrainingIndizes;
    128128      var estimatedValues = model.Interpreter.GetSymbolicExpressionTreeValues(model.SymbolicExpressionTree, dataset, rows);
    129       var boundedEstimatedValues = estimatedValues.LimitToRange(model.LowerEstimationLimit, model.UpperEstimationLimit);
    130129      var targetValues = dataset.GetDoubleValues(targetVariable, rows);
    131130      double alpha;
    132131      double beta;
    133132      OnlineCalculatorError errorState;
    134       OnlineLinearScalingParameterCalculator.Calculate(boundedEstimatedValues, targetValues, out alpha, out beta, out errorState);
     133      OnlineLinearScalingParameterCalculator.Calculate(estimatedValues, targetValues, out alpha, out beta, out errorState);
    135134      if (errorState != OnlineCalculatorError.None) return;
    136135
Note: See TracChangeset for help on using the changeset viewer.