Free cookie consent management tool by TermsFeed Policy Generator

Changeset 9052


Ignore:
Timestamp:
12/13/12 15:46:32 (12 years ago)
Author:
bburlacu
Message:

#1763: Very minor change in the CalculateImpactValue method for symbolic regression (renamed internal variable).

File:
1 edited

Legend:

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

    r8960 r9052  
    4242      OnlineCalculatorError errorState;
    4343      if (double.IsNaN(originalQuality)) {
    44         var originalClassValues = regressionModel.GetEstimatedValues(dataset, rows);
    45         originalQuality = OnlinePearsonsRSquaredCalculator.Calculate(targetValues, originalClassValues, out errorState);
     44        var originalValues = regressionModel.GetEstimatedValues(dataset, rows);
     45        originalQuality = OnlinePearsonsRSquaredCalculator.Calculate(targetValues, originalValues, out errorState);
    4646        if (errorState != OnlineCalculatorError.None) originalQuality = 0.0;
    4747      }
Note: See TracChangeset for help on using the changeset viewer.