Changeset 17687 for branches/1837_Sliding Window GP/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SlidingWindow
- Timestamp:
- 07/19/20 19:07:40 (4 years ago)
- Location:
- branches/1837_Sliding Window GP/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SlidingWindow
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1837_Sliding Window GP/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SlidingWindow/GenerationalRegressionSlidingWindowAnalyzer.cs
r10720 r17687 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Optimization; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Attic; 26 26 27 27 namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Regression { 28 [StorableClass]29 28 [Item("Generational Regression Sliding Window Analyzer", "")] 29 [StorableType("9157AEF9-838B-48EC-9E0B-CE75F8A1FF8D")] 30 30 public class GenerationalRegressionSlidingWindowAnalyzer : GenerationalSlidingWindowAnalyzer { 31 31 [StorableConstructor] 32 protected GenerationalRegressionSlidingWindowAnalyzer( bool deserializing) : base(deserializing) { }32 protected GenerationalRegressionSlidingWindowAnalyzer(StorableConstructorFlag _) : base(_) { } 33 33 [StorableHook(HookType.AfterDeserialization)] 34 34 private void AfterDeserialization() { } -
branches/1837_Sliding Window GP/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SlidingWindow/OffspringSelectionRegressionSlidingWindowAnalyzer.cs
r10720 r17687 24 24 using HeuristicLab.Optimization; 25 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 26 using HEAL.Attic; 26 27 27 28 namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Regression { 28 [StorableClass]29 29 [Item("OffspringSelectionRegressionSlidingWindowAnalyzer", "")] 30 [StorableType("821B7755-1914-416A-AF83-55B0BF74E26A")] 30 31 public class OffspringSelectionRegressionSlidingWindowAnalyzer : OffspringSelectionSlidingWindowAnalyzer { 31 32 [StorableConstructor] 32 protected OffspringSelectionRegressionSlidingWindowAnalyzer( bool deserializing) : base(deserializing) { }33 protected OffspringSelectionRegressionSlidingWindowAnalyzer(StorableConstructorFlag _) : base(_) { } 33 34 [StorableHook(HookType.AfterDeserialization)] 34 35 private void AfterDeserialization() { } -
branches/1837_Sliding Window GP/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SlidingWindow/SlidingWindowBestRegressionSolutionsCollection.cs
r10681 r17687 24 24 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 25 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 26 using HEAL.Attic; 26 27 27 28 namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Regression { 28 [StorableClass]29 29 [Item("SlidingWindowBestRegressionSolutionsCollection", "A collection of best sliding window solutions for symbolic regression.")] 30 [StorableType("8F78030E-16F3-42CD-ABE7-0526E4738676")] 30 31 public class SlidingWindowBestRegressionSolutionsCollection : SlidingWindowBestSolutionsCollection { 31 32 public new IRegressionProblemData ProblemData { … … 34 35 } 35 36 [StorableConstructor] 36 protected SlidingWindowBestRegressionSolutionsCollection( bool deserializing) : base(deserializing) { }37 protected SlidingWindowBestRegressionSolutionsCollection(StorableConstructorFlag _) : base(_) { } 37 38 [StorableHook(HookType.AfterDeserialization)] 38 39 private void AfterDeserialization() { } … … 46 47 public override ISymbolicDataAnalysisModel CreateModel(ISymbolicExpressionTree tree, ISymbolicDataAnalysisExpressionTreeInterpreter interpreter, 47 48 double lowerEstimationLimit = double.MinValue, double upperEstimationLimit = double.MaxValue) { 48 return new SymbolicRegressionModel( tree, interpreter, lowerEstimationLimit, upperEstimationLimit);49 return new SymbolicRegressionModel(ProblemData.TargetVariable, tree, interpreter, lowerEstimationLimit, upperEstimationLimit); 49 50 } 50 51 public override ISymbolicDataAnalysisSolution CreateSolution(ISymbolicDataAnalysisModel model, IDataAnalysisProblemData problemData) {
Note: See TracChangeset
for help on using the changeset viewer.