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