- Timestamp:
- 07/07/19 23:40:10 (5 years ago)
- Location:
- stable
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
-
stable/HeuristicLab.Algorithms.DataAnalysis
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Algorithms.DataAnalysis/3.4
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Algorithms.DataAnalysis/3.4/NearestNeighbour/NearestNeighbourClassification.cs
r15584 r17097 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. … … 28 28 using HeuristicLab.Optimization; 29 29 using HeuristicLab.Parameters; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;30 using HEAL.Attic; 31 31 using HeuristicLab.Problems.DataAnalysis; 32 32 … … 37 37 [Item("Nearest Neighbour Classification (kNN)", "Nearest neighbour classification data analysis algorithm (wrapper for ALGLIB).")] 38 38 [Creatable(CreatableAttribute.Categories.DataAnalysisClassification, Priority = 150)] 39 [Storable Class]39 [StorableType("98161D6F-D977-45EA-B899-E47EE017865E")] 40 40 public sealed class NearestNeighbourClassification : FixedDataAnalysisAlgorithm<IClassificationProblem> { 41 41 private const string KParameterName = "K"; … … 67 67 68 68 [StorableConstructor] 69 private NearestNeighbourClassification( bool deserializing) : base(deserializing) { }69 private NearestNeighbourClassification(StorableConstructorFlag _) : base(_) { } 70 70 private NearestNeighbourClassification(NearestNeighbourClassification original, Cloner cloner) 71 71 : base(original, cloner) { -
stable/HeuristicLab.Algorithms.DataAnalysis/3.4/NearestNeighbour/NearestNeighbourClassificationSolution.cs
r15584 r17097 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. … … 22 22 using HeuristicLab.Common; 23 23 using HeuristicLab.Core; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Attic; 25 25 using HeuristicLab.Problems.DataAnalysis; 26 26 … … 30 30 /// </summary> 31 31 [Item("NearestNeighbourClassificationSolution", "Represents a nearest neighbour solution for a classification problem which can be visualized in the GUI.")] 32 [Storable Class]32 [StorableType("C336B1A1-A746-4DA9-A926-EC1CA4EFDB02")] 33 33 public sealed class NearestNeighbourClassificationSolution : ClassificationSolution, INearestNeighbourClassificationSolution { 34 34 … … 39 39 40 40 [StorableConstructor] 41 private NearestNeighbourClassificationSolution( bool deserializing) : base(deserializing) { }41 private NearestNeighbourClassificationSolution(StorableConstructorFlag _) : base(_) { } 42 42 private NearestNeighbourClassificationSolution(NearestNeighbourClassificationSolution original, Cloner cloner) 43 43 : base(original, cloner) { -
stable/HeuristicLab.Algorithms.DataAnalysis/3.4/NearestNeighbour/NearestNeighbourModel.cs
r17054 r17097 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. … … 25 25 using HeuristicLab.Common; 26 26 using HeuristicLab.Core; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 28 28 using HeuristicLab.Problems.DataAnalysis; 29 29 … … 32 32 /// Represents a nearest neighbour model for regression and classification 33 33 /// </summary> 34 [Storable Class]34 [StorableType("A76C0823-3077-4ACE-8A40-E9B717C7DB60")] 35 35 [Item("NearestNeighbourModel", "Represents a nearest neighbour model for regression and classification.")] 36 36 public sealed class NearestNeighbourModel : ClassificationModel, INearestNeighbourModel { … … 66 66 67 67 [StorableConstructor] 68 private NearestNeighbourModel(bool deserializing) 69 : base(deserializing) { 70 if (deserializing) 71 kdTree = new alglib.nearestneighbor.kdtree(); 68 private NearestNeighbourModel(StorableConstructorFlag _) : base(_) { 69 kdTree = new alglib.nearestneighbor.kdtree(); 72 70 } 73 71 private NearestNeighbourModel(NearestNeighbourModel original, Cloner cloner) -
stable/HeuristicLab.Algorithms.DataAnalysis/3.4/NearestNeighbour/NearestNeighbourRegression.cs
r15584 r17097 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. … … 27 27 using HeuristicLab.Optimization; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Attic; 30 30 using HeuristicLab.Problems.DataAnalysis; 31 31 … … 36 36 [Item("Nearest Neighbour Regression (kNN)", "Nearest neighbour regression data analysis algorithm (wrapper for ALGLIB).")] 37 37 [Creatable(CreatableAttribute.Categories.DataAnalysisRegression, Priority = 150)] 38 [Storable Class]38 [StorableType("3F940BE0-4F44-4F7F-A3EE-E47423C7F22D")] 39 39 public sealed class NearestNeighbourRegression : FixedDataAnalysisAlgorithm<IRegressionProblem> { 40 40 private const string KParameterName = "K"; … … 67 67 68 68 [StorableConstructor] 69 private NearestNeighbourRegression( bool deserializing) : base(deserializing) { }69 private NearestNeighbourRegression(StorableConstructorFlag _) : base(_) { } 70 70 private NearestNeighbourRegression(NearestNeighbourRegression original, Cloner cloner) 71 71 : base(original, cloner) { -
stable/HeuristicLab.Algorithms.DataAnalysis/3.4/NearestNeighbour/NearestNeighbourRegressionSolution.cs
r15584 r17097 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. … … 22 22 using HeuristicLab.Common; 23 23 using HeuristicLab.Core; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Attic; 25 25 using HeuristicLab.Problems.DataAnalysis; 26 26 … … 30 30 /// </summary> 31 31 [Item("NearestNeighbourRegressionSolution", "Represents a nearest neighbour solution for a regression problem which can be visualized in the GUI.")] 32 [Storable Class]32 [StorableType("71C86C1A-C917-4CA4-A239-C167C1C793F8")] 33 33 public sealed class NearestNeighbourRegressionSolution : RegressionSolution, INearestNeighbourRegressionSolution { 34 34 … … 39 39 40 40 [StorableConstructor] 41 private NearestNeighbourRegressionSolution( bool deserializing) : base(deserializing) { }41 private NearestNeighbourRegressionSolution(StorableConstructorFlag _) : base(_) { } 42 42 private NearestNeighbourRegressionSolution(NearestNeighbourRegressionSolution original, Cloner cloner) 43 43 : base(original, cloner) {
Note: See TracChangeset
for help on using the changeset viewer.