Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/24/11 13:24:09 (14 years ago)
Author:
gkronber
Message:

#1418 fixed minor issues in symbolic data analysis classes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SingleObjective/SymbolicRegressionSingleObjectiveOverfittingAnalyzer.cs

    r5809 r5823  
    8585                                    select EvaluatorParameter.ActualValue.Evaluate(childContext, tree, ProblemDataParameter.ActualValue, rows))
    8686                                   .ToArray();
    87       double r = alglib.spearmancorr2(trainingQuality, validationQuality);
     87      double r = 0.0;
     88      try {
     89        r = alglib.spearmancorr2(trainingQuality, validationQuality);
     90      }
     91      catch (alglib.alglibexception) {
     92        r = 0.0;
     93      }
    8894
    8995      TrainingValidationQualityCorrelationParameter.ActualValue = new DoubleValue(r);
Note: See TracChangeset for help on using the changeset viewer.