Changeset 14289
- Timestamp:
- 09/19/16 11:23:28 (8 years ago)
- Location:
- trunk/sources
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/SymbolicClassificationModel.cs
r14185 r14289 40 40 41 41 [StorableConstructor] 42 protected SymbolicClassificationModel(bool deserializing) : base(deserializing) { } 42 protected SymbolicClassificationModel(bool deserializing) 43 : base(deserializing) { 44 targetVariable = string.Empty; 45 } 43 46 44 47 protected SymbolicClassificationModel(SymbolicClassificationModel original, Cloner cloner) -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SymbolicRegressionModel.cs
r14185 r14289 20 20 #endregion 21 21 22 using System;23 22 using System.Collections.Generic; 24 23 using HeuristicLab.Common; … … 41 40 42 41 [StorableConstructor] 43 protected SymbolicRegressionModel(bool deserializing) : base(deserializing) { } 42 protected SymbolicRegressionModel(bool deserializing) 43 : base(deserializing) { 44 targetVariable = string.Empty; 45 } 44 46 45 47 protected SymbolicRegressionModel(SymbolicRegressionModel original, Cloner cloner) -
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Classification/ClassificationModel.cs
r13992 r14289 36 36 } 37 37 38 protected ClassificationModel(bool deserializing) : base(deserializing) { } 38 protected ClassificationModel(bool deserializing) 39 : base(deserializing) { 40 targetVariable = string.Empty; 41 } 39 42 protected ClassificationModel(ClassificationModel original, Cloner cloner) 40 43 : base(original, cloner) { … … 55 58 } 56 59 57 [StorableHook(HookType.AfterDeserialization)]58 private void AfterDeserialization() {59 // BackwardsCompatibility3.360 #region Backwards compatible code, remove with 3.461 targetVariable = string.Empty;62 #endregion63 }64 65 60 public abstract IEnumerable<double> GetEstimatedClassValues(IDataset dataset, IEnumerable<int> rows); 66 61 public abstract IClassificationSolution CreateClassificationSolution(IClassificationProblemData problemData); -
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionModel.cs
r13992 r14289 36 36 } 37 37 38 protected RegressionModel(bool deserializing) : base(deserializing) { } 38 protected RegressionModel(bool deserializing) 39 : base(deserializing) { 40 targetVariable = string.Empty; 41 } 39 42 40 43 protected RegressionModel(RegressionModel original, Cloner cloner) … … 56 59 } 57 60 58 [StorableHook(HookType.AfterDeserialization)]59 private void AfterDeserialization() {60 // BackwardsCompatibility3.361 #region Backwards compatible code, remove with 3.462 targetVariable = string.Empty;63 #endregion64 }65 61 public abstract IEnumerable<double> GetEstimatedValues(IDataset dataset, IEnumerable<int> rows); 66 62 public abstract IRegressionSolution CreateRegressionSolution(IRegressionProblemData problemData);
Note: See TracChangeset
for help on using the changeset viewer.