Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/28/11 13:57:05 (13 years ago)
Author:
mkommend
Message:

#1604: Enabled caching of evaluation results in data analysis solutions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Classification/DiscriminantFunctionClassificationSolutionBase.cs

    r6604 r6606  
    8686      Add(new Result(TestRSquaredResultName, "Squared Pearson's correlation coefficient of the model output and the actual values on the test partition", new DoubleValue()));
    8787
    88       SetAccuracyMaximizingThresholds();
    8988      RegisterEventHandler();
    9089    }
     
    9594    }
    9695
    97     protected override void OnModelChanged(EventArgs e) {
     96    protected override void OnModelChanged() {
    9897      DeregisterEventHandler();
    9998      SetAccuracyMaximizingThresholds();
    10099      RegisterEventHandler();
    101       base.OnModelChanged(e);
     100      base.OnModelChanged();
    102101    }
    103102
     
    149148
    150149    protected virtual void OnModelThresholdsChanged(EventArgs e) {
    151       RecalculateResults();
     150      CalculateResults();
    152151    }
    153152
Note: See TracChangeset for help on using the changeset viewer.