Free cookie consent management tool by TermsFeed Policy Generator

Changeset 5321 for trunk/sources


Ignore:
Timestamp:
01/18/11 14:50:59 (14 years ago)
Author:
gkronber
Message:

Minor bug fix in SymbolicClassificationSolution. #1383

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Classification/3.3/Symbolic/SymbolicClassificationSolution.cs

    r5319 r5321  
    8585           select double.IsNaN(boundedX) ? UpperEstimationLimit : boundedX).ToList();
    8686      RecalculateClassIntermediates();
    87       OnEstimatedValuesChanged();
    8887    }
    8988
     
    150149    public IEnumerable<double> GetEstimatedClassValues(IEnumerable<int> rows) {
    151150      double[] classValues = ProblemData.SortedClassValues.ToArray();
     151      if (estimatedValues == null)
     152        RecalculateEstimatedValues();
    152153      foreach (int row in rows) {
    153154        double value = estimatedValues[row];
Note: See TracChangeset for help on using the changeset viewer.