Changeset 16628 for branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression
- Timestamp:
- 02/28/19 12:41:36 (6 years ago)
- Location:
- branches/2971_named_intervals
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2971_named_intervals
-
Property
svn:ignore
set to
packages
-
Property
svn:ignore
set to
-
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/ConfidenceBoundRegressionSolution.cs
r15583 r16628 24 24 using HeuristicLab.Common; 25 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 26 using HEAL.Attic; 26 27 27 28 namespace HeuristicLab.Problems.DataAnalysis { … … 29 30 /// Represents a regression data analysis solution that supports confidence estimates 30 31 /// </summary> 31 [Storable Class]32 [StorableType("70B75674-818D-4BCB-8EA3-A8AF0B539A06")] 32 33 public class ConfidenceRegressionSolution : RegressionSolution, IConfidenceRegressionSolution { 33 34 protected readonly Dictionary<int, double> varianceEvaluationCache; … … 39 40 40 41 [StorableConstructor] 41 protected ConfidenceRegressionSolution(bool deserializing) 42 : base(deserializing) { 42 protected ConfidenceRegressionSolution(StorableConstructorFlag _) : base(_) { 43 43 varianceEvaluationCache = new Dictionary<int, double>(); 44 44 } -
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/ConstantRegressionModel.cs
r15583 r16628 27 27 using HeuristicLab.Data; 28 28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 29 using HEAL.Attic; 29 30 30 31 namespace HeuristicLab.Problems.DataAnalysis { 31 [Storable Class]32 [StorableType("4A79CAF4-DD03-4C07-B31D-060A122B0BA0")] 32 33 [Item("Constant Regression Model", "A model that always returns the same constant value regardless of the presented input data.")] 33 34 [Obsolete] … … 43 44 44 45 [StorableConstructor] 45 protected ConstantRegressionModel( bool deserializing) : base(deserializing) { }46 protected ConstantRegressionModel(StorableConstructorFlag _) : base(_) { } 46 47 protected ConstantRegressionModel(ConstantRegressionModel original, Cloner cloner) 47 48 : base(original, cloner) { -
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/ConstantRegressionSolution.cs
r15583 r16628 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 25 using HEAL.Attic; 25 26 26 27 namespace HeuristicLab.Problems.DataAnalysis { 27 [Storable Class]28 [StorableType("13429251-9E30-430A-B9CD-53B024B61E94")] 28 29 [Item(Name = "Constant Regression Solution", Description = "Represents a constant regression solution (model + data).")] 29 30 public class ConstantRegressionSolution : RegressionSolution { … … 34 35 35 36 [StorableConstructor] 36 protected ConstantRegressionSolution( bool deserializing) : base(deserializing) { }37 protected ConstantRegressionSolution(StorableConstructorFlag _) : base(_) { } 37 38 protected ConstantRegressionSolution(ConstantRegressionSolution original, Cloner cloner) : base(original, cloner) { } 38 39 public ConstantRegressionSolution(ConstantModel model, IRegressionProblemData problemData) -
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionEnsembleModel.cs
r15583 r16628 26 26 using HeuristicLab.Core; 27 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 28 using HEAL.Attic; 28 29 29 30 namespace HeuristicLab.Problems.DataAnalysis { … … 31 32 /// Represents regression solutions that contain an ensemble of multiple regression models 32 33 /// </summary> 33 [Storable Class]34 [StorableType("CB2F632E-DDF3-47B4-98E8-E7C87BA30301")] 34 35 [Item("RegressionEnsembleModel", "A regression model that contains an ensemble of multiple regression models")] 35 36 public sealed class RegressionEnsembleModel : RegressionModel, IRegressionEnsembleModel { … … 89 90 90 91 [StorableConstructor] 91 private RegressionEnsembleModel( bool deserializing) : base(deserializing) { }92 private RegressionEnsembleModel(StorableConstructorFlag _) : base(_) { } 92 93 private RegressionEnsembleModel(RegressionEnsembleModel original, Cloner cloner) 93 94 : base(original, cloner) { -
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionEnsembleProblemData.cs
r15583 r16628 26 26 using HeuristicLab.Parameters; 27 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 28 using HEAL.Attic; 28 29 29 30 namespace HeuristicLab.Problems.DataAnalysis { 30 [Storable Class]31 [StorableType("B6B0985C-C443-42D4-A15C-3B3CCD3710D3")] 31 32 [Item("RegressionEnsembleProblemData", "Represents an item containing all data defining a regression problem.")] 32 33 public sealed class RegressionEnsembleProblemData : RegressionProblemData { … … 62 63 63 64 [StorableConstructor] 64 private RegressionEnsembleProblemData( bool deserializing) : base(deserializing) { }65 private RegressionEnsembleProblemData(StorableConstructorFlag _) : base(_) { } 65 66 private RegressionEnsembleProblemData(RegressionEnsembleProblemData original, Cloner cloner) : base(original, cloner) { } 66 67 public override IDeepCloneable Clone(Cloner cloner) { -
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionEnsembleSolution.cs
r15583 r16628 28 28 using HeuristicLab.Data; 29 29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 30 using HEAL.Attic; 30 31 31 32 namespace HeuristicLab.Problems.DataAnalysis { … … 33 34 /// Represents regression solutions that contain an ensemble of multiple regression models 34 35 /// </summary> 35 [Storable Class]36 [StorableType("A17F96F4-55AE-4A2F-9FA6-07231D1F7E55")] 36 37 [Item("Regression Ensemble Solution", "A regression solution that contains an ensemble of multiple regression models")] 37 38 [Creatable(CreatableAttribute.Categories.DataAnalysisEnsembles, Priority = 100)] … … 62 63 63 64 [StorableConstructor] 64 private RegressionEnsembleSolution(bool deserializing) 65 : base(deserializing) { 65 private RegressionEnsembleSolution(StorableConstructorFlag _) : base(_) { 66 66 regressionSolutions = new ItemCollection<IRegressionSolution>(); 67 67 } -
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionModel.cs
r16243 r16628 25 25 using HeuristicLab.Core; 26 26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 27 using HEAL.Attic; 27 28 28 29 namespace HeuristicLab.Problems.DataAnalysis { 29 [Storable Class]30 [StorableType("E95D7427-C747-40C2-AB4F-A1048EDECEC0")] 30 31 [Item("Regression Model", "Base class for all regression models.")] 31 32 public abstract class RegressionModel : DataAnalysisModel, IRegressionModel { … … 41 42 } 42 43 43 protected RegressionModel(bool deserializing)44 : base(deserializing) {44 [StorableConstructor] 45 protected RegressionModel(StorableConstructorFlag _) : base(_) { 45 46 targetVariable = string.Empty; 46 47 } -
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionProblem.cs
r15583 r16628 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 25 using HEAL.Attic; 25 26 26 27 namespace HeuristicLab.Problems.DataAnalysis { 27 [Storable Class]28 [StorableType("D5CFFB52-FE65-432C-B245-927AA7DC3919")] 28 29 [Item("Regression Problem", "A general regression problem.")] 29 30 public class RegressionProblem : DataAnalysisProblem<IRegressionProblemData>, IRegressionProblem, IStorableContent { … … 31 32 32 33 [StorableConstructor] 33 protected RegressionProblem( bool deserializing) : base(deserializing) { }34 protected RegressionProblem(StorableConstructorFlag _) : base(_) { } 34 35 protected RegressionProblem(RegressionProblem original, Cloner cloner) : base(original, cloner) { } 35 36 public override IDeepCloneable Clone(Cloner cloner) { return new RegressionProblem(this, cloner); } -
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionProblemData.cs
r16592 r16628 30 30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 31 31 using HeuristicLab.Problems.DataAnalysis.Implementation; 32 using HEAL.Attic; 32 33 33 34 namespace HeuristicLab.Problems.DataAnalysis { 34 [Storable Class]35 [StorableType("6538FC76-4A82-482C-93DA-04A49C3F7AF4")] 35 36 [Item("RegressionProblemData", "Represents an item containing all data defining a regression problem.")] 36 37 public class RegressionProblemData : DataAnalysisProblemData, IRegressionProblemData, IStorableContent { … … 136 137 137 138 [StorableConstructor] 138 protected RegressionProblemData( bool deserializing) : base(deserializing) { }139 protected RegressionProblemData(StorableConstructorFlag _) : base(_) { } 139 140 [StorableHook(HookType.AfterDeserialization)] 140 141 private void AfterDeserialization() { -
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionSolution.cs
r15583 r16628 24 24 using HeuristicLab.Common; 25 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 26 using HEAL.Attic; 26 27 27 28 namespace HeuristicLab.Problems.DataAnalysis { … … 29 30 /// Represents a regression data analysis solution 30 31 /// </summary> 31 [Storable Class]32 [StorableType("CE8CB5F3-6BC8-448B-80A0-DDCEDDB4F062")] 32 33 public class RegressionSolution : RegressionSolutionBase { 33 34 protected readonly Dictionary<int, double> evaluationCache; 34 35 35 36 [StorableConstructor] 36 protected RegressionSolution(bool deserializing) 37 : base(deserializing) { 37 protected RegressionSolution(StorableConstructorFlag _) : base(_) { 38 38 evaluationCache = new Dictionary<int, double>(); 39 39 } -
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionSolutionBase.cs
r16244 r16628 26 26 using HeuristicLab.Optimization; 27 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 28 using HEAL.Attic; 28 29 29 30 namespace HeuristicLab.Problems.DataAnalysis { 30 [Storable Class]31 [StorableType("881E9898-C5F3-43E2-8928-891BDE6A36D9")] 31 32 public abstract class RegressionSolutionBase : DataAnalysisSolution, IRegressionSolution { 32 33 protected const string TrainingMeanSquaredErrorResultName = "Mean squared error (training)"; … … 160 161 161 162 [StorableConstructor] 162 protected RegressionSolutionBase( bool deserializing) : base(deserializing) { }163 protected RegressionSolutionBase(StorableConstructorFlag _) : base(_) { } 163 164 protected RegressionSolutionBase(RegressionSolutionBase original, Cloner cloner) 164 165 : base(original, cloner) { -
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionSolutionVariableImpactsCalculator.cs
r16536 r16628 32 32 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 33 33 using HeuristicLab.Random; 34 using HEAL.Attic; 34 35 35 36 namespace HeuristicLab.Problems.DataAnalysis { 36 [Storable Class]37 [StorableType("B7D9FC3E-4623-4C94-9567-471CD06EB0B5")] 37 38 [Item("RegressionSolution Impacts Calculator", "Calculation of the impacts of input variables for any regression solution")] 38 39 public sealed class RegressionSolutionVariableImpactsCalculator : ParameterizedNamedItem { … … 85 86 #region Ctor/Cloner 86 87 [StorableConstructor] 87 private RegressionSolutionVariableImpactsCalculator( bool deserializing) : base(deserializing) { }88 private RegressionSolutionVariableImpactsCalculator(StorableConstructorFlag _) : base(_) { } 88 89 private RegressionSolutionVariableImpactsCalculator(RegressionSolutionVariableImpactsCalculator original, Cloner cloner) 89 90 : base(original, cloner) { }
Note: See TracChangeset
for help on using the changeset viewer.