Changeset 16723 for branches/2521_ProblemRefactoring/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/SymbolicNearestNeighbourClassificationModel.cs
- Timestamp:
- 03/28/19 16:54:20 (6 years ago)
- Location:
- branches/2521_ProblemRefactoring
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring
- Property svn:mergeinfo changed
-
branches/2521_ProblemRefactoring/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification
- Property svn:mergeinfo changed
-
branches/2521_ProblemRefactoring/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/SymbolicNearestNeighbourClassificationModel.cs
r16692 r16723 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 26 26 using HeuristicLab.Core; 27 27 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 30 30 namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Classification { … … 32 32 /// Represents a nearest neighbour model for regression and classification 33 33 /// </summary> 34 [Storable Class]34 [StorableType("B9F8A753-B102-4356-8821-76E31634A0C6")] 35 35 [Item("SymbolicNearestNeighbourClassificationModel", "Represents a nearest neighbour model for symbolic classification.")] 36 36 public sealed class SymbolicNearestNeighbourClassificationModel : SymbolicClassificationModel { … … 47 47 48 48 [StorableConstructor] 49 private SymbolicNearestNeighbourClassificationModel( bool deserializing) : base(deserializing) { }49 private SymbolicNearestNeighbourClassificationModel(StorableConstructorFlag _) : base(_) { } 50 50 private SymbolicNearestNeighbourClassificationModel(SymbolicNearestNeighbourClassificationModel original, Cloner cloner) 51 51 : base(original, cloner) { … … 143 143 } 144 144 145 [Storable Class]145 [StorableType("523AFB5D-3758-4547-BD6E-1181A01A02B4")] 146 146 internal sealed class ClassFrequencyComparer : IComparer<double> { 147 147 [Storable] … … 149 149 150 150 [StorableConstructor] 151 private ClassFrequencyComparer( bool deserializing) { }151 private ClassFrequencyComparer(StorableConstructorFlag _) { } 152 152 public ClassFrequencyComparer() { 153 153 classFrequencies = new Dictionary<double, int>();
Note: See TracChangeset
for help on using the changeset viewer.