Free cookie consent management tool by TermsFeed Policy Generator

Changeset 3542


Ignore:
Timestamp:
04/27/10 11:45:40 (15 years ago)
Author:
gkronber
Message:

Fixed problem with BestValidationSolutionVisualizer when scaling parameters are not available. #938 (Data types and operators for regression problems)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Regression/3.3/Symbolic/BestValidationSymbolicRegressionSolutionVisualizer.cs

    r3532 r3542  
    151151      var scaledExpressions = from i in Enumerable.Range(0, expressions.Count())
    152152                              let expr = expressions[i]
    153                               let alpha = alphas[i].Value
    154                               let beta = betas[i].Value
     153                              let alpha = alphas[i] == null ? 0.0 : alphas[i].Value
     154                              let beta = betas[i] == null ? 1.0 : betas[i].Value
    155155                              select new { Expression = expr, Alpha = alpha, Beta = beta };
    156156      DataAnalysisProblemData problemData = DataAnalysisProblemDataParameter.ActualValue;
Note: See TracChangeset for help on using the changeset viewer.