Free cookie consent management tool by TermsFeed Policy Generator

Changeset 8666


Ignore:
Timestamp:
09/17/12 17:02:13 (12 years ago)
Author:
mkommend
Message:

#1951: Corrected AfterDeserializationHook for SymbolicDataAnalysisProblem to set the ApplyLinearScaling parameter value correctly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/SymbolicDataAnalysisProblem.cs

    r8664 r8666  
    162162        Parameters.Add(new FixedValueParameter<BoolValue>(ApplyLinearScalingParameterName, ApplyLinearScalingParameterDescription, new BoolValue(false)));
    163163        ApplyLinearScalingParameter.Hidden = true;
     164
     165        //it is assumed that for all symbolic regression algorithms linear scaling was set to true
     166        //there is no possibility to determine the previous value of the parameter as it was stored in the evaluator
     167        if (GetType().Name.Contains("SymbolicRegression"))
     168          ApplyLinearScaling.Value = true;
    164169      }
    165170
Note: See TracChangeset for help on using the changeset viewer.