Changeset 15132 for stable/HeuristicLab.Tests/HeuristicLab-3.3/Samples
- Timestamp:
- 07/06/17 10:22:27 (7 years ago)
- Location:
- stable/HeuristicLab.Tests/HeuristicLab-3.3/Samples
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
stable/HeuristicLab.Tests/HeuristicLab-3.3/Samples/GPSymbolicClassificationSampleTest.cs
r14186 r15132 100 100 grammar.ConfigureAsDefaultClassificationGrammar(); 101 101 grammar.Symbols.OfType<VariableCondition>().Single().Enabled = false; 102 var varSymbol = grammar.Symbols.OfType<Variable>().Where(x => !(x is LaggedVariable)).Single(); 102 foreach (var varSy in grammar.Symbols.OfType<VariableBase>()) varSy.VariableChangeProbability = 1.0; // for backwards compatibilty 103 var varSymbol = grammar.Symbols.OfType<Variable>().Single(); 103 104 varSymbol.WeightMu = 1.0; 104 105 varSymbol.WeightSigma = 1.0; -
stable/HeuristicLab.Tests/HeuristicLab-3.3/Samples/GPSymbolicRegressionSampleTest.cs
r14186 r15132 101 101 grammar.ConfigureAsDefaultRegressionGrammar(); 102 102 grammar.Symbols.OfType<VariableCondition>().Single().InitialFrequency = 0.0; 103 var varSymbol = grammar.Symbols.OfType<Variable>().Where(x => !(x is LaggedVariable)).Single(); 103 foreach (var varSy in grammar.Symbols.OfType<VariableBase>()) varSy.VariableChangeProbability = 1.0; // for backwards compatibilty 104 var varSymbol = grammar.Symbols.OfType<Variable>().Single(); 104 105 varSymbol.WeightMu = 1.0; 105 106 varSymbol.WeightSigma = 1.0; -
stable/HeuristicLab.Tests/HeuristicLab-3.3/Samples/GPTimeSeriesSampleTest.cs
r14941 r15132 74 74 autoRegressiveSymbol.MaxLag = -1; 75 75 } 76 if (symbol is VariableBase) { 77 var varSy = symbol as VariableBase; 78 varSy.VariableChangeProbability = 1.0; // backwards compatibility 79 } 76 80 } 77 81
Note: See TracChangeset
for help on using the changeset viewer.