Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/04/11 15:38:16 (13 years ago)
Author:
mkommend
Message:

#1453: Renamed IOnlineEvaluator to IOnlineCalculator

File:
1 edited

Legend:

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

    r5894 r5942  
    7878        .ToArray();
    7979      var targetValues = dataset.GetEnumeratedVariableValues(targetVariable, rows);
    80       OnlineEvaluatorError errorState;
    81       double originalR2 = OnlinePearsonsRSquaredEvaluator.Calculate(targetValues, originalOutput, out errorState);
    82       if (errorState != OnlineEvaluatorError.None) originalR2 = 0.0;
     80      OnlineCalculatorError errorState;
     81      double originalR2 = OnlinePearsonsRSquaredCalculator.Calculate(targetValues, originalOutput, out errorState);
     82      if (errorState != OnlineCalculatorError.None) originalR2 = 0.0;
    8383
    8484      foreach (ISymbolicExpressionTreeNode node in nodes) {
     
    8888        SwitchNode(parent, node, replacementNode);
    8989        var newOutput = interpreter.GetSymbolicExpressionTreeValues(tree, dataset, rows);
    90         double newR2 = OnlinePearsonsRSquaredEvaluator.Calculate(targetValues, newOutput, out errorState);
    91         if (errorState != OnlineEvaluatorError.None) newR2 = 0.0;
     90        double newR2 = OnlinePearsonsRSquaredCalculator.Calculate(targetValues, newOutput, out errorState);
     91        if (errorState != OnlineCalculatorError.None) newR2 = 0.0;
    9292
    9393        // impact = 0 if no change
Note: See TracChangeset for help on using the changeset viewer.