- Timestamp:
- 04/02/14 11:38:44 (11 years ago)
- Location:
- branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4
- Files:
-
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/HeuristicLab.Problems.DataAnalysis.Symbolic-3.4.csproj
r10673 r10695 221 221 <Compile Include="Symbols\VariableConditionTreeNode.cs" /> 222 222 <Compile Include="Symbols\VariableTreeNode.cs" /> 223 <Compile Include="TransformationCollection.cs" />224 223 <None Include="HeuristicLab.snk" /> 225 224 <None Include="Plugin.cs.frame" /> -
branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Interfaces/ISymbolicDataAnalysisProblem.cs
r10673 r10695 35 35 IFixedValueParameter<IntRange> FitnessCalculationPartitionParameter { get; } 36 36 IFixedValueParameter<IntRange> ValidationPartitionParameter { get; } 37 IFixedValueParameter<TransformationCollection> TransformationsParameter { get; }38 37 39 38 ISymbolicDataAnalysisGrammar SymbolicExpressionTreeGrammar { get; set; } -
branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/SymbolicDataAnalysisProblem.cs
r10673 r10695 54 54 private const string ValidationPartitionParameterName = "ValidationPartition"; 55 55 private const string ApplyLinearScalingParameterName = "ApplyLinearScaling"; 56 private const string TransformationsParameterName = "Transformations";57 56 58 57 private const string ProblemDataParameterDescription = ""; … … 67 66 private const string ValidationPartitionParameterDescription = "The partition of the problem data training partition, that should be used to select the best model from (optional)."; 68 67 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.";70 68 #endregion 71 69 … … 106 104 public IFixedValueParameter<BoolValue> ApplyLinearScalingParameter { 107 105 get { return (IFixedValueParameter<BoolValue>)Parameters[ApplyLinearScalingParameterName]; } 108 }109 public IFixedValueParameter<TransformationCollection> TransformationsParameter {110 get { return (IFixedValueParameter<TransformationCollection>)Parameters[TransformationsParameterName]; }111 106 } 112 107 #endregion … … 172 167 if (GetType().Name.Contains("SymbolicRegression")) 173 168 ApplyLinearScaling.Value = true; 174 }175 176 if (!Parameters.ContainsKey(TransformationsParameterName)) {177 Parameters.Add(new FixedValueParameter<TransformationCollection>(TransformationsParameterName, TransformationsParameterDescrioption, new TransformationCollection()));178 TransformationsParameter.Hidden = true;179 169 } 180 170 … … 199 189 Parameters.Add(new FixedValueParameter<PercentValue>(RelativeNumberOfEvaluatedSamplesParameterName, RelativeNumberOfEvaluatedSamplesParameterDescription, new PercentValue(1))); 200 190 Parameters.Add(new FixedValueParameter<BoolValue>(ApplyLinearScalingParameterName, ApplyLinearScalingParameterDescription, new BoolValue(false))); 201 Parameters.Add(new FixedValueParameter<TransformationCollection>(TransformationsParameterName, TransformationsParameterDescrioption, new TransformationCollection()));202 191 203 192 SymbolicExpressionTreeInterpreterParameter.Hidden = true; … … 205 194 MaximumFunctionDefinitionsParameter.Hidden = true; 206 195 ApplyLinearScalingParameter.Hidden = true; 207 TransformationsParameter.Hidden = true;208 196 209 197 SymbolicExpressionTreeGrammar = new TypeCoherentExpressionGrammar();
Note: See TracChangeset
for help on using the changeset viewer.