Changeset 18119
- Timestamp:
- 12/15/21 09:44:55 (3 years ago)
- Location:
- branches/3140_NumberSymbol/HeuristicLab.Tests
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3140_NumberSymbol/HeuristicLab.Tests/HeuristicLab-3.3/Samples/GPSymbolicClassificationSampleTest.cs
r17180 r18119 109 109 varSymbol.WeightManipulatorSigma = 0.05; 110 110 varSymbol.MultiplicativeWeightManipulatorSigma = 0.03; 111 var constSymbol = grammar.Symbols.OfType<Constant>().Single();112 constSymbol.MaxValue = 20;113 constSymbol.MinValue = -20;114 constSymbol.ManipulatorMu = 0.0;115 constSymbol.ManipulatorSigma = 1;116 constSymbol.MultiplicativeManipulatorSigma = 0.03;111 var numSymbol = grammar.Symbols.OfType<Number>().Single(); 112 numSymbol.MaxValue = 20; 113 numSymbol.MinValue = -20; 114 numSymbol.ManipulatorMu = 0.0; 115 numSymbol.ManipulatorSigma = 1; 116 numSymbol.MultiplicativeManipulatorSigma = 0.03; 117 117 symbClassProblem.SymbolicExpressionTreeGrammar = grammar; 118 118 -
branches/3140_NumberSymbol/HeuristicLab.Tests/HeuristicLab-3.3/Samples/GPSymbolicRegressionSampleTest.cs
r17180 r18119 110 110 varSymbol.WeightManipulatorSigma = 0.05; 111 111 varSymbol.MultiplicativeWeightManipulatorSigma = 0.03; 112 var constSymbol = grammar.Symbols.OfType<Constant>().Single();113 constSymbol.MaxValue = 20;114 constSymbol.MinValue = -20;115 constSymbol.ManipulatorMu = 0.0;116 constSymbol.ManipulatorSigma = 1;117 constSymbol.MultiplicativeManipulatorSigma = 0.03;112 var numSymbol = grammar.Symbols.OfType<Number>().Single(); 113 numSymbol.MaxValue = 20; 114 numSymbol.MinValue = -20; 115 numSymbol.ManipulatorMu = 0.0; 116 numSymbol.ManipulatorSigma = 1; 117 numSymbol.MultiplicativeManipulatorSigma = 0.03; 118 118 symbRegProblem.SymbolicExpressionTreeGrammar = grammar; 119 119 -
branches/3140_NumberSymbol/HeuristicLab.Tests/HeuristicLab-3.3/Samples/GPSymbolicRegressionSampleWithOSTest.cs
r17948 r18119 184 184 problem.MaximumFunctionArguments.Value = 0; 185 185 186 var evaluator = new SymbolicRegression ConstantOptimizationEvaluator();187 evaluator. ConstantOptimizationIterations.Value = 5;186 var evaluator = new SymbolicRegressionParameterOptimizationEvaluator(); 187 evaluator.ParameterOptimizationIterations.Value = 5; 188 188 problem.EvaluatorParameter.Value = evaluator; 189 189 problem.RelativeNumberOfEvaluatedSamplesParameter.Hidden = true; -
branches/3140_NumberSymbol/HeuristicLab.Tests/HeuristicLab.Problems.DataAnalysis.Symbolic-3.4/SymbolicExpressionTreeBottomUpSimilarityCalculatorTest.cs
r16869 r18119 82 82 var sw = new Stopwatch(); 83 83 84 var similarityCalculator = new SymbolicExpressionTreeBottomUpSimilarityCalculator { MatchVariableWeights = false, Match ConstantValues = false };84 var similarityCalculator = new SymbolicExpressionTreeBottomUpSimilarityCalculator { MatchVariableWeights = false, MatchParameterValues = false }; 85 85 86 86 sw.Start(); … … 117 117 var trees = Util.CreateRandomTrees(twister, ds, grammar, N, 1, 100, 0, 0); 118 118 119 var similarityCalculator = new SymbolicExpressionTreeBottomUpSimilarityCalculator { Match ConstantValues = strict, MatchVariableWeights = strict };119 var similarityCalculator = new SymbolicExpressionTreeBottomUpSimilarityCalculator { MatchParameterValues = strict, MatchVariableWeights = strict }; 120 120 var bottomUpSimilarity = 0d; 121 121 for (int i = 0; i < trees.Length - 1; ++i) {
Note: See TracChangeset
for help on using the changeset viewer.