Changeset 14289 for trunk/sources/HeuristicLab.Problems.DataAnalysis
- Timestamp:
- 09/19/16 11:23:28 (8 years ago)
- Location:
- trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4/Implementation
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
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.