Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/23/11 13:52:29 (14 years ago)
Author:
gkronber
Message:

#1418 Fixed a problem with scaling of regression and classification solutions (moved scale method out of solution into the model because of leaky abstraction).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4/OnlineEvaluators/OnlineLinearScalingParameterCalculator.cs

    r5809 r5818  
    103103        double originalElement = originalEnumerator.Current;
    104104        double targetElement = targetEnumerator.Current;
    105         // don't consider very large or very small values for scaling
    106         // careful: this also excludes infinity and NaN values
    107         if (originalElement > -1.0E07 && originalElement < 1.0E07) {
    108           calculator.Add(originalElement, targetElement);
    109         }
     105        calculator.Add(originalElement, targetElement);
    110106      }
    111107
Note: See TracChangeset for help on using the changeset viewer.