Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/02/14 11:38:44 (10 years ago)
Author:
pfleck
Message:
  • Added Transformations to PreprocessingData
  • Added Transformations to DataAnalysisProblemData Parameters
  • Removed SymbolicExpressionTree as inverse transformation.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/SymbolicDataAnalysisProblem.cs

    r10673 r10695  
    5454    private const string ValidationPartitionParameterName = "ValidationPartition";
    5555    private const string ApplyLinearScalingParameterName = "ApplyLinearScaling";
    56     private const string TransformationsParameterName = "Transformations";
    5756
    5857    private const string ProblemDataParameterDescription = "";
     
    6766    private const string ValidationPartitionParameterDescription = "The partition of the problem data training partition, that should be used to select the best model from (optional).";
    6867    private const string ApplyLinearScalingParameterDescription = "Flag that indicates if the individual should be linearly scaled before evaluating.";
    69     private const string TransformationsParameterDescrioption = "The transformations which were applied on the input variables.";
    7068    #endregion
    7169
     
    106104    public IFixedValueParameter<BoolValue> ApplyLinearScalingParameter {
    107105      get { return (IFixedValueParameter<BoolValue>)Parameters[ApplyLinearScalingParameterName]; }
    108     }
    109     public IFixedValueParameter<TransformationCollection> TransformationsParameter {
    110       get { return (IFixedValueParameter<TransformationCollection>)Parameters[TransformationsParameterName]; }
    111106    }
    112107    #endregion
     
    172167        if (GetType().Name.Contains("SymbolicRegression"))
    173168          ApplyLinearScaling.Value = true;
    174       }
    175 
    176       if (!Parameters.ContainsKey(TransformationsParameterName)) {
    177         Parameters.Add(new FixedValueParameter<TransformationCollection>(TransformationsParameterName, TransformationsParameterDescrioption, new TransformationCollection()));
    178         TransformationsParameter.Hidden = true;
    179169      }
    180170
     
    199189      Parameters.Add(new FixedValueParameter<PercentValue>(RelativeNumberOfEvaluatedSamplesParameterName, RelativeNumberOfEvaluatedSamplesParameterDescription, new PercentValue(1)));
    200190      Parameters.Add(new FixedValueParameter<BoolValue>(ApplyLinearScalingParameterName, ApplyLinearScalingParameterDescription, new BoolValue(false)));
    201       Parameters.Add(new FixedValueParameter<TransformationCollection>(TransformationsParameterName, TransformationsParameterDescrioption, new TransformationCollection()));
    202191
    203192      SymbolicExpressionTreeInterpreterParameter.Hidden = true;
     
    205194      MaximumFunctionDefinitionsParameter.Hidden = true;
    206195      ApplyLinearScalingParameter.Hidden = true;
    207       TransformationsParameter.Hidden = true;
    208196
    209197      SymbolicExpressionTreeGrammar = new TypeCoherentExpressionGrammar();
Note: See TracChangeset for help on using the changeset viewer.