Changeset 16628 for branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Classification
- Timestamp:
- 02/28/19 12:41:36 (6 years ago)
- Location:
- branches/2971_named_intervals
- Files:
-
- 18 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/Classification/ClassificationEnsembleModel.cs
r15583 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 { … … 30 31 /// Represents classification solutions that contain an ensemble of multiple classification models 31 32 /// </summary> 32 [Storable Class]33 [StorableType("7EA6E802-999D-4432-A13F-0DCBC1A4F8FB")] 33 34 [Item("ClassificationEnsembleModel", "A classification model that contains an ensemble of multiple classification models")] 34 35 public class ClassificationEnsembleModel : ClassificationModel, IClassificationEnsembleModel { … … 44 45 45 46 [StorableConstructor] 46 protected ClassificationEnsembleModel( bool deserializing) : base(deserializing) { }47 protected ClassificationEnsembleModel(StorableConstructorFlag _) : base(_) { } 47 48 protected ClassificationEnsembleModel(ClassificationEnsembleModel original, Cloner cloner) 48 49 : base(original, cloner) { -
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Classification/ClassificationEnsembleProblemData.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("90243689-01F7-4FA2-9317-68B9CFEFC05C")] 31 32 [Item("ClassificationEnsembleProblemData", "Represents an item containing all data defining a classification problem.")] 32 33 public class ClassificationEnsembleProblemData : ClassificationProblemData { … … 65 66 66 67 [StorableConstructor] 67 protected ClassificationEnsembleProblemData( bool deserializing) : base(deserializing) { }68 protected ClassificationEnsembleProblemData(StorableConstructorFlag _) : base(_) { } 68 69 protected ClassificationEnsembleProblemData(ClassificationEnsembleProblemData original, Cloner cloner) : base(original, cloner) { } 69 70 public override IDeepCloneable Clone(Cloner cloner) { -
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Classification/ClassificationEnsembleSolution.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 classification solutions that contain an ensemble of multiple classification models 34 35 /// </summary> 35 [Storable Class]36 [StorableType("BD1C63A8-1CCC-4048-88C4-AE6958B5EE6B")] 36 37 [Item("Classification Ensemble Solution", "A classification solution that contains an ensemble of multiple classification models")] 37 38 [Creatable(CreatableAttribute.Categories.DataAnalysisEnsembles, Priority = 110)] … … 61 62 62 63 [StorableConstructor] 63 private ClassificationEnsembleSolution(bool deserializing) 64 : base(deserializing) { 64 private ClassificationEnsembleSolution(StorableConstructorFlag _) : base(_) { 65 65 classificationSolutions = new ItemCollection<IClassificationSolution>(); 66 66 } -
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Classification/ClassificationModel.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("E8412AEA-CDD0-4B5B-9AAF-005582F2C9A3")] 30 31 [Item("Classification Model", "Base class for all classification models.")] 31 32 public abstract class ClassificationModel : DataAnalysisModel, IClassificationModel { … … 41 42 } 42 43 43 protected ClassificationModel(bool deserializing)44 : base(deserializing) {44 [StorableConstructor] 45 protected ClassificationModel(StorableConstructorFlag _) : base(_) { 45 46 targetVariable = string.Empty; 46 47 } -
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Classification/ClassificationPerformanceMeasures.cs
r15583 r16628 25 25 using HeuristicLab.Optimization; 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("0C0F7F46-74F7-4CF9-8096-0E9CD2B0F0AD")] 30 31 public class ClassificationPerformanceMeasuresResultCollection : ResultCollection { 31 32 #region result names … … 54 55 } 55 56 [StorableConstructor] 56 protected ClassificationPerformanceMeasuresResultCollection(bool deserializing) 57 : base(deserializing) { 57 protected ClassificationPerformanceMeasuresResultCollection(StorableConstructorFlag _) : base(_) { 58 58 } 59 59 -
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Classification/ClassificationProblem.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("8C336C29-8B17-4713-BC30-70F05ED190BA")] 28 29 [Item("Classification Problem", "A general classification problem.")] 29 30 public class ClassificationProblem : DataAnalysisProblem<IClassificationProblemData>, IClassificationProblem, IStorableContent { … … 31 32 32 33 [StorableConstructor] 33 protected ClassificationProblem( bool deserializing) : base(deserializing) { }34 protected ClassificationProblem(StorableConstructorFlag _) : base(_) { } 34 35 protected ClassificationProblem(ClassificationProblem original, Cloner cloner) : base(original, cloner) { } 35 36 public override IDeepCloneable Clone(Cloner cloner) { return new ClassificationProblem(this, cloner); } -
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Classification/ClassificationProblemData.cs
r16244 r16628 28 28 using HeuristicLab.Parameters; 29 29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 30 using HEAL.Attic; 30 31 31 32 namespace HeuristicLab.Problems.DataAnalysis { 32 [Storable Class]33 [StorableType("C2833A5D-BFBA-4F81-97E8-8665804F0E44")] 33 34 [Item("ClassificationProblemData", "Represents an item containing all data defining a classification problem.")] 34 35 public class ClassificationProblemData : DataAnalysisProblemData, IClassificationProblemData, IStorableContent { … … 279 280 280 281 [StorableConstructor] 281 protected ClassificationProblemData( bool deserializing) : base(deserializing) { }282 protected ClassificationProblemData(StorableConstructorFlag _) : base(_) { } 282 283 [StorableHook(HookType.AfterDeserialization)] 283 284 private void AfterDeserialization() { -
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Classification/ClassificationSolution.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 classification data analysis solution 30 31 /// </summary> 31 [Storable Class]32 [StorableType("8D893EA5-D6D3-477A-9813-F057877D65B6")] 32 33 public class ClassificationSolution : ClassificationSolutionBase { 33 34 protected readonly Dictionary<int, double> evaluationCache; 34 35 35 36 [StorableConstructor] 36 protected ClassificationSolution(bool deserializing) 37 : base(deserializing) { 37 protected ClassificationSolution(StorableConstructorFlag _) : base(_) { 38 38 evaluationCache = new Dictionary<int, double>(); 39 39 } -
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Classification/ClassificationSolutionBase.cs
r16244 r16628 28 28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 29 29 using HeuristicLab.Problems.DataAnalysis.OnlineCalculators; 30 using HEAL.Attic; 30 31 31 32 namespace HeuristicLab.Problems.DataAnalysis { 32 [Storable Class]33 [StorableType("4A461D10-7B42-48CA-8506-610DE870AF06")] 33 34 public abstract class ClassificationSolutionBase : DataAnalysisSolution, IClassificationSolution { 34 35 private const string TrainingAccuracyResultName = "Accuracy (training)"; … … 78 79 79 80 [StorableConstructor] 80 protected ClassificationSolutionBase( bool deserializing) : base(deserializing) { }81 protected ClassificationSolutionBase(StorableConstructorFlag _) : base(_) { } 81 82 protected ClassificationSolutionBase(ClassificationSolutionBase original, Cloner cloner) 82 83 : base(original, cloner) { -
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Classification/ClassificationSolutionVariableImpactsCalculator.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("6E031543-7C35-47F3-9BE2-E33D1486C3D2")] 37 38 [Item("ClassificationSolution Impacts Calculator", "Calculation of the impacts of input variables for any classification solution")] 38 39 public sealed class ClassificationSolutionVariableImpactsCalculator : ParameterizedNamedItem { … … 85 86 #region Ctor/Cloner 86 87 [StorableConstructor] 87 private ClassificationSolutionVariableImpactsCalculator( bool deserializing) : base(deserializing) { }88 private ClassificationSolutionVariableImpactsCalculator(StorableConstructorFlag _) : base(_) { } 88 89 private ClassificationSolutionVariableImpactsCalculator(ClassificationSolutionVariableImpactsCalculator original, Cloner cloner) 89 90 : base(original, cloner) { } -
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Classification/ConstantClassificationSolution.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("E104A01A-369B-4ACC-A37D-2E13FF205811")] 28 29 [Item(Name = "Constant Classification Solution", Description = "Represents a constant classification solution (model + data).")] 29 30 public class ConstantClassificationSolution : ClassificationSolution { … … 34 35 35 36 [StorableConstructor] 36 protected ConstantClassificationSolution( bool deserializing) : base(deserializing) { }37 protected ConstantClassificationSolution(StorableConstructorFlag _) : base(_) { } 37 38 protected ConstantClassificationSolution(ConstantClassificationSolution original, Cloner cloner) : base(original, cloner) { } 38 39 public ConstantClassificationSolution(ConstantModel model, IClassificationProblemData problemData) -
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Classification/DiscriminantFunctionClassificationModel.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 discriminant function classification data analysis models. 32 33 /// </summary> 33 [Storable Class]34 [StorableType("9408A82E-6B34-47F6-B1A0-F8C822CC0AD9")] 34 35 [Item("DiscriminantFunctionClassificationModel", "Represents a classification model that uses a discriminant function and classification thresholds.")] 35 36 public class DiscriminantFunctionClassificationModel : ClassificationModel, IDiscriminantFunctionClassificationModel { … … 68 69 69 70 [StorableConstructor] 70 protected DiscriminantFunctionClassificationModel( bool deserializing) : base(deserializing) { }71 protected DiscriminantFunctionClassificationModel(StorableConstructorFlag _) : base(_) { } 71 72 protected DiscriminantFunctionClassificationModel(DiscriminantFunctionClassificationModel original, Cloner cloner) 72 73 : base(original, cloner) { -
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Classification/DiscriminantFunctionClassificationSolution.cs
r15583 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 { … … 30 31 /// Represents a classification solution that uses a discriminant function and classification thresholds. 31 32 /// </summary> 32 [Storable Class]33 [StorableType("EB59DCD7-B426-4349-8301-97541A676ECE")] 33 34 [Item("DiscriminantFunctionClassificationSolution", "Represents a classification solution that uses a discriminant function and classification thresholds.")] 34 35 public class DiscriminantFunctionClassificationSolution : DiscriminantFunctionClassificationSolutionBase { … … 37 38 38 39 [StorableConstructor] 39 protected DiscriminantFunctionClassificationSolution(bool deserializing) 40 : base(deserializing) { 40 protected DiscriminantFunctionClassificationSolution(StorableConstructorFlag _) : base(_) { 41 41 valueEvaluationCache = new Dictionary<int, double>(); 42 42 classValueEvaluationCache = new Dictionary<int, double>(); -
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Classification/DiscriminantFunctionClassificationSolutionBase.cs
r15583 r16628 28 28 using HeuristicLab.Optimization; 29 29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 30 using HEAL.Attic; 30 31 31 32 namespace HeuristicLab.Problems.DataAnalysis { … … 33 34 /// Represents a classification solution that uses a discriminant function and classification thresholds. 34 35 /// </summary> 35 [Storable Class]36 [StorableType("269E7BE2-27E2-4E28-B42A-8527069C7292")] 36 37 [Item("DiscriminantFunctionClassificationSolution", "Represents a classification solution that uses a discriminant function and classification thresholds.")] 37 38 public abstract class DiscriminantFunctionClassificationSolutionBase : ClassificationSolutionBase, IDiscriminantFunctionClassificationSolution { … … 74 75 75 76 [StorableConstructor] 76 protected DiscriminantFunctionClassificationSolutionBase( bool deserializing) : base(deserializing) { }77 protected DiscriminantFunctionClassificationSolutionBase(StorableConstructorFlag _) : base(_) { } 77 78 protected DiscriminantFunctionClassificationSolutionBase(DiscriminantFunctionClassificationSolutionBase original, Cloner cloner) 78 79 : base(original, cloner) { -
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Classification/ThresholdCalculators/AccuracyMaximizationThresholdCalculator.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 a threshold calculator that maximizes the weighted accuracy of the classifcation model. 32 33 /// </summary> 33 [Storable Class]34 [StorableType("226D720F-A0C8-4A23-B0CC-ED083E2A133D")] 34 35 [Item("AccuracyMaximizationThresholdCalculator", "Represents a threshold calculator that maximizes the weighted accuracy of the classifcation model.")] 35 36 public class AccuracyMaximizationThresholdCalculator : ThresholdCalculator { 36 37 37 38 [StorableConstructor] 38 protected AccuracyMaximizationThresholdCalculator( bool deserializing) : base(deserializing) { }39 protected AccuracyMaximizationThresholdCalculator(StorableConstructorFlag _) : base(_) { } 39 40 protected AccuracyMaximizationThresholdCalculator(AccuracyMaximizationThresholdCalculator original, Cloner cloner) 40 41 : base(original, cloner) { -
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Classification/ThresholdCalculators/NormalDistributionCutPointsThresholdCalculator.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 a threshold calculator that calculates thresholds as the cutting points between the estimated class distributions (assuming normally distributed class values). 32 33 /// </summary> 33 [Storable Class]34 [StorableType("987423CB-F80E-4302-88EC-9B24977C11E4")] 34 35 [Item("NormalDistributionCutPointsThresholdCalculator", "Represents a threshold calculator that calculates thresholds as the cutting points between the estimated class distributions (assuming normally distributed class values).")] 35 36 public class NormalDistributionCutPointsThresholdCalculator : ThresholdCalculator { 36 37 37 38 [StorableConstructor] 38 protected NormalDistributionCutPointsThresholdCalculator( bool deserializing) : base(deserializing) { }39 protected NormalDistributionCutPointsThresholdCalculator(StorableConstructorFlag _) : base(_) { } 39 40 protected NormalDistributionCutPointsThresholdCalculator(NormalDistributionCutPointsThresholdCalculator original, Cloner cloner) 40 41 : base(original, cloner) { -
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Classification/ThresholdCalculators/ThresholdCalculator.cs
r15583 r16628 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 26 using HEAL.Attic; 26 27 27 28 namespace HeuristicLab.Problems.DataAnalysis { … … 29 30 /// Base class for threshold calculators for discriminant function classification models. 30 31 /// </summary> 31 [Storable Class]32 [StorableType("91983232-13A0-420D-83FF-FA4DF5733321")] 32 33 public abstract class ThresholdCalculator : NamedItem, IDiscriminantFunctionThresholdCalculator { 33 34 34 35 [StorableConstructor] 35 protected ThresholdCalculator( bool deserializing) : base(deserializing) { }36 protected ThresholdCalculator(StorableConstructorFlag _) : base(_) { } 36 37 protected ThresholdCalculator(ThresholdCalculator original, Cloner cloner) 37 38 : base(original, cloner) {
Note: See TracChangeset
for help on using the changeset viewer.