Changeset 18116
- Timestamp:
- 12/14/21 14:31:10 (3 years ago)
- Location:
- branches/3140_NumberSymbol
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3140_NumberSymbol/HeuristicLab.Algorithms.DataAnalysis/3.4/NonlinearRegression/NonlinearRegression.cs
r18114 r18116 123 123 : base() { 124 124 Problem = new RegressionProblem(); 125 Parameters.Add(new FixedValueParameter<StringValue>(ModelStructureParameterName, "The expression for which the <num> parameters should be fit.", new StringValue("<num> * x*x + 0.0"))); 125 Parameters.Add(new FixedValueParameter<StringValue>(ModelStructureParameterName, 126 "The expression for which the <num> parameters should be fit.\n " + 127 "Defined constants will not be modified.\n " + 128 "Modifiable numbers are specified with <num>. To specify a default value within this number symbol, a default value can be declared by e.g. <num=1.0>.", 129 new StringValue("<num> * x*x + 0.0"))); 126 130 Parameters.Add(new FixedValueParameter<IntValue>(IterationsParameterName, "The maximum number of iterations for parameter optimization.", new IntValue(200))); 127 131 Parameters.Add(new FixedValueParameter<IntValue>(RestartsParameterName, "The number of independent random restarts (>0)", new IntValue(10))); -
branches/3140_NumberSymbol/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Grammars/LinearScalingGrammar.cs
r18115 r18116 130 130 Symbols.First(s => s is CubeRoot).Enabled = false; 131 131 Symbols.First(s => s is Absolute).Enabled = false; 132 Symbols.First(s => s is Constant).Enabled = false; 132 133 } 133 134 } -
branches/3140_NumberSymbol/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Grammars/TypeCoherentExpressionGrammar.cs
r18115 r18116 250 250 Symbols.First(s => s.Name == ConditionalSymbolsName).Enabled = false; 251 251 Symbols.First(s => s.Name == TimeSeriesSymbolsName).Enabled = false; 252 Symbols.First(s => s is Constant).Enabled = false; 252 253 } 253 254 … … 263 264 Symbols.First(s => s.Name == PowerFunctionsName).Enabled = false; 264 265 Symbols.First(s => s.Name == TimeSeriesSymbolsName).Enabled = false; 266 Symbols.First(s => s is Constant).Enabled = false; 265 267 } 266 268 … … 279 281 Symbols.First(s => s is Integral).Enabled = false; 280 282 Symbols.First(s => s is TimeLag).Enabled = false; 283 Symbols.First(s => s is Constant).Enabled = false; 281 284 } 282 285 } -
branches/3140_NumberSymbol/HeuristicLab.Problems.ExternalEvaluation.GP/3.5/ExternalEvaluationExpressionGrammar.cs
r18115 r18116 21 21 22 22 using System.Collections.Generic; 23 using System.Linq; 23 24 using HEAL.Attic; 24 25 using HeuristicLab.Common; … … 103 104 } 104 105 } 106 107 Symbols.First(s => s is Constant).Enabled = false; 105 108 } 106 109 }
Note: See TracChangeset
for help on using the changeset viewer.