Changeset 16462 for branches/2520_PersistenceReintegration/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression
- Timestamp:
- 12/28/18 16:10:48 (6 years ago)
- Location:
- branches/2520_PersistenceReintegration/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2520_PersistenceReintegration/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/ConfidenceBoundRegressionSolution.cs
r16453 r16462 23 23 using System.Linq; 24 24 using HeuristicLab.Common; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 26 26 27 27 namespace HeuristicLab.Problems.DataAnalysis { … … 29 29 /// Represents a regression data analysis solution that supports confidence estimates 30 30 /// </summary> 31 [Storable Class]31 [StorableType("C2D0DE07-E8F0-4850-AAF3-E2885EC1DDB6")] 32 32 public class ConfidenceRegressionSolution : RegressionSolution, IConfidenceRegressionSolution { 33 33 protected readonly Dictionary<int, double> varianceEvaluationCache; … … 39 39 40 40 [StorableConstructor] 41 protected ConfidenceRegressionSolution(bool deserializing) 42 : base(deserializing) { 41 protected ConfidenceRegressionSolution(StorableConstructorFlag _) : base(_) { 43 42 varianceEvaluationCache = new Dictionary<int, double>(); 44 43 } -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/ConstantRegressionModel.cs
r16453 r16462 26 26 using HeuristicLab.Core; 27 27 using HeuristicLab.Data; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 29 29 30 30 namespace HeuristicLab.Problems.DataAnalysis { 31 [Storable Class]31 [StorableType("E4C0D707-F668-428F-951C-F82A475177BE")] 32 32 [Item("Constant Regression Model", "A model that always returns the same constant value regardless of the presented input data.")] 33 33 [Obsolete] … … 43 43 44 44 [StorableConstructor] 45 protected ConstantRegressionModel( bool deserializing) : base(deserializing) { }45 protected ConstantRegressionModel(StorableConstructorFlag _) : base(_) { } 46 46 protected ConstantRegressionModel(ConstantRegressionModel original, Cloner cloner) 47 47 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/ConstantRegressionSolution.cs
r16453 r16462 22 22 using HeuristicLab.Common; 23 23 using HeuristicLab.Core; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Fossil; 25 25 26 26 namespace HeuristicLab.Problems.DataAnalysis { 27 [Storable Class]27 [StorableType("4DDDFDFA-3AF5-468F-971F-26B8AB014338")] 28 28 [Item(Name = "Constant Regression Solution", Description = "Represents a constant regression solution (model + data).")] 29 29 public class ConstantRegressionSolution : RegressionSolution { … … 34 34 35 35 [StorableConstructor] 36 protected ConstantRegressionSolution( bool deserializing) : base(deserializing) { }36 protected ConstantRegressionSolution(StorableConstructorFlag _) : base(_) { } 37 37 protected ConstantRegressionSolution(ConstantRegressionSolution original, Cloner cloner) : base(original, cloner) { } 38 38 public ConstantRegressionSolution(ConstantModel model, IRegressionProblemData problemData) -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionEnsembleModel.cs
r16453 r16462 25 25 using HeuristicLab.Common; 26 26 using HeuristicLab.Core; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 29 29 namespace HeuristicLab.Problems.DataAnalysis { … … 31 31 /// Represents regression solutions that contain an ensemble of multiple regression models 32 32 /// </summary> 33 [Storable Class]33 [StorableType("202C33A2-2B7A-42E2-B3F3-BE1C9A9B5B84")] 34 34 [Item("RegressionEnsembleModel", "A regression model that contains an ensemble of multiple regression models")] 35 35 public sealed class RegressionEnsembleModel : RegressionModel, IRegressionEnsembleModel { … … 89 89 90 90 [StorableConstructor] 91 private RegressionEnsembleModel( bool deserializing) : base(deserializing) { }91 private RegressionEnsembleModel(StorableConstructorFlag _) : base(_) { } 92 92 private RegressionEnsembleModel(RegressionEnsembleModel original, Cloner cloner) 93 93 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionEnsembleProblemData.cs
r16453 r16462 25 25 using HeuristicLab.Data; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 29 29 namespace HeuristicLab.Problems.DataAnalysis { 30 [Storable Class]30 [StorableType("CB105C71-FA47-4FFC-BF56-57B6BB2E0BC7")] 31 31 [Item("RegressionEnsembleProblemData", "Represents an item containing all data defining a regression problem.")] 32 32 public sealed class RegressionEnsembleProblemData : RegressionProblemData { … … 62 62 63 63 [StorableConstructor] 64 private RegressionEnsembleProblemData( bool deserializing) : base(deserializing) { }64 private RegressionEnsembleProblemData(StorableConstructorFlag _) : base(_) { } 65 65 private RegressionEnsembleProblemData(RegressionEnsembleProblemData original, Cloner cloner) : base(original, cloner) { } 66 66 public override IDeepCloneable Clone(Cloner cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionEnsembleSolution.cs
r16453 r16462 27 27 using HeuristicLab.Core; 28 28 using HeuristicLab.Data; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Fossil; 30 30 31 31 namespace HeuristicLab.Problems.DataAnalysis { … … 33 33 /// Represents regression solutions that contain an ensemble of multiple regression models 34 34 /// </summary> 35 [Storable Class]35 [StorableType("C5B38C31-4307-48E4-9BCD-6797C329E018")] 36 36 [Item("Regression Ensemble Solution", "A regression solution that contains an ensemble of multiple regression models")] 37 37 [Creatable(CreatableAttribute.Categories.DataAnalysisEnsembles, Priority = 100)] … … 62 62 63 63 [StorableConstructor] 64 private RegressionEnsembleSolution(bool deserializing) 65 : base(deserializing) { 64 private RegressionEnsembleSolution(StorableConstructorFlag _) : base(_) { 66 65 regressionSolutions = new ItemCollection<IRegressionSolution>(); 67 66 } -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionModel.cs
r16453 r16462 24 24 using HeuristicLab.Common; 25 25 using HeuristicLab.Core; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 28 28 namespace HeuristicLab.Problems.DataAnalysis { 29 [Storable Class]29 [StorableType("2998B895-4724-489C-A4CA-9ADD10C7CA49")] 30 30 [Item("Regression Model", "Base class for all regression models.")] 31 31 public abstract class RegressionModel : DataAnalysisModel, IRegressionModel { … … 41 41 } 42 42 43 protected RegressionModel(bool deserializing) 44 : base(deserializing) { 43 [StorableConstructor] 44 protected RegressionModel(StorableConstructorFlag _) 45 : base(_) { 45 46 targetVariable = string.Empty; 46 47 } -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionProblem.cs
r16453 r16462 22 22 using HeuristicLab.Common; 23 23 using HeuristicLab.Core; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Fossil; 25 25 26 26 namespace HeuristicLab.Problems.DataAnalysis { 27 [Storable Class]27 [StorableType("BD8AFF60-E8BE-4325-B1AC-08B7BDF37865")] 28 28 [Item("Regression Problem", "A general regression problem.")] 29 29 public class RegressionProblem : DataAnalysisProblem<IRegressionProblemData>, IRegressionProblem, IStorableContent { … … 31 31 32 32 [StorableConstructor] 33 protected RegressionProblem( bool deserializing) : base(deserializing) { }33 protected RegressionProblem(StorableConstructorFlag _) : base(_) { } 34 34 protected RegressionProblem(RegressionProblem original, Cloner cloner) : base(original, cloner) { } 35 35 public override IDeepCloneable Clone(Cloner cloner) { return new RegressionProblem(this, cloner); } -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionProblemData.cs
r16453 r16462 27 27 using HeuristicLab.Data; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Fossil; 30 30 31 31 namespace HeuristicLab.Problems.DataAnalysis { 32 [Storable Class]32 [StorableType("EE612297-B1AF-42D2-BF21-AF9A2D42791C")] 33 33 [Item("RegressionProblemData", "Represents an item containing all data defining a regression problem.")] 34 34 public class RegressionProblemData : DataAnalysisProblemData, IRegressionProblemData, IStorableContent { … … 122 122 123 123 [StorableConstructor] 124 protected RegressionProblemData( bool deserializing) : base(deserializing) { }124 protected RegressionProblemData(StorableConstructorFlag _) : base(_) { } 125 125 [StorableHook(HookType.AfterDeserialization)] 126 126 private void AfterDeserialization() { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionSolution.cs
r16453 r16462 23 23 using System.Linq; 24 24 using HeuristicLab.Common; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 26 26 27 27 namespace HeuristicLab.Problems.DataAnalysis { … … 29 29 /// Represents a regression data analysis solution 30 30 /// </summary> 31 [Storable Class]31 [StorableType("00A95897-4AA4-406B-B304-5D19AA30C4B1")] 32 32 public class RegressionSolution : RegressionSolutionBase { 33 33 protected readonly Dictionary<int, double> evaluationCache; 34 34 35 35 [StorableConstructor] 36 protected RegressionSolution(bool deserializing) 37 : base(deserializing) { 36 protected RegressionSolution(StorableConstructorFlag _) : base(_) { 38 37 evaluationCache = new Dictionary<int, double>(); 39 38 } -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionSolutionBase.cs
r16453 r16462 25 25 using HeuristicLab.Data; 26 26 using HeuristicLab.Optimization; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 29 29 namespace HeuristicLab.Problems.DataAnalysis { 30 [Storable Class]30 [StorableType("03116F5E-ABBF-4966-9428-E3DC67D1D03D")] 31 31 public abstract class RegressionSolutionBase : DataAnalysisSolution, IRegressionSolution { 32 32 protected const string TrainingMeanSquaredErrorResultName = "Mean squared error (training)"; … … 160 160 161 161 [StorableConstructor] 162 protected RegressionSolutionBase( bool deserializing) : base(deserializing) { }162 protected RegressionSolutionBase(StorableConstructorFlag _) : base(_) { } 163 163 protected RegressionSolutionBase(RegressionSolutionBase original, Cloner cloner) 164 164 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionSolutionVariableImpactsCalculator.cs
r16453 r16462 30 30 using HeuristicLab.Data; 31 31 using HeuristicLab.Parameters; 32 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;32 using HEAL.Fossil; 33 33 using HeuristicLab.Random; 34 34 35 35 namespace HeuristicLab.Problems.DataAnalysis { 36 [Storable Class]36 [StorableType("414B25CD-6643-4E42-9EB2-B9A24F5E1528")] 37 37 [Item("RegressionSolution Impacts Calculator", "Calculation of the impacts of input variables for any regression solution")] 38 38 public sealed class RegressionSolutionVariableImpactsCalculator : ParameterizedNamedItem { … … 85 85 #region Ctor/Cloner 86 86 [StorableConstructor] 87 private RegressionSolutionVariableImpactsCalculator( bool deserializing) : base(deserializing) { }87 private RegressionSolutionVariableImpactsCalculator(StorableConstructorFlag _) : base(_) { } 88 88 private RegressionSolutionVariableImpactsCalculator(RegressionSolutionVariableImpactsCalculator original, Cloner cloner) 89 89 : base(original, cloner) { }
Note: See TracChangeset
for help on using the changeset viewer.