Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/14/22 10:04:38 (3 years ago)
Author:
mkommend
Message:

#3136: Fixed bug in adjustment of linear scaling terms.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3136_Structural_GP/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/LinearScaling.cs

    r18191 r18196  
    8585      OnlineLinearScalingParameterCalculator.Calculate(estimatedValues, targetValues, out double a, out double b, out OnlineCalculatorError error);
    8686      if (error == OnlineCalculatorError.None) {
    87         offsetNode.Value = a;
    88         scaleNode.Value = b;
     87        offsetNode.Value = a + b * offsetNode.Value;
     88        scaleNode.Value = b * scaleNode.Value;
    8989      }
    9090    }
Note: See TracChangeset for help on using the changeset viewer.