Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/07/19 23:40:10 (5 years ago)
Author:
mkommend
Message:

#2520: Merged 16565 - 16579 into stable.

Location:
stable
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • stable

  • stable/HeuristicLab.Algorithms.DataAnalysis

  • stable/HeuristicLab.Algorithms.DataAnalysis/3.4

  • stable/HeuristicLab.Algorithms.DataAnalysis/3.4/NearestNeighbour/NearestNeighbourClassification.cs

    r15584 r17097  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    2828using HeuristicLab.Optimization;
    2929using HeuristicLab.Parameters;
    30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     30using HEAL.Attic;
    3131using HeuristicLab.Problems.DataAnalysis;
    3232
     
    3737  [Item("Nearest Neighbour Classification (kNN)", "Nearest neighbour classification data analysis algorithm (wrapper for ALGLIB).")]
    3838  [Creatable(CreatableAttribute.Categories.DataAnalysisClassification, Priority = 150)]
    39   [StorableClass]
     39  [StorableType("98161D6F-D977-45EA-B899-E47EE017865E")]
    4040  public sealed class NearestNeighbourClassification : FixedDataAnalysisAlgorithm<IClassificationProblem> {
    4141    private const string KParameterName = "K";
     
    6767
    6868    [StorableConstructor]
    69     private NearestNeighbourClassification(bool deserializing) : base(deserializing) { }
     69    private NearestNeighbourClassification(StorableConstructorFlag _) : base(_) { }
    7070    private NearestNeighbourClassification(NearestNeighbourClassification original, Cloner cloner)
    7171      : base(original, cloner) {
  • stable/HeuristicLab.Algorithms.DataAnalysis/3.4/NearestNeighbour/NearestNeighbourClassificationSolution.cs

    r15584 r17097  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    2222using HeuristicLab.Common;
    2323using HeuristicLab.Core;
    24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     24using HEAL.Attic;
    2525using HeuristicLab.Problems.DataAnalysis;
    2626
     
    3030  /// </summary>
    3131  [Item("NearestNeighbourClassificationSolution", "Represents a nearest neighbour solution for a classification problem which can be visualized in the GUI.")]
    32   [StorableClass]
     32  [StorableType("C336B1A1-A746-4DA9-A926-EC1CA4EFDB02")]
    3333  public sealed class NearestNeighbourClassificationSolution : ClassificationSolution, INearestNeighbourClassificationSolution {
    3434
     
    3939
    4040    [StorableConstructor]
    41     private NearestNeighbourClassificationSolution(bool deserializing) : base(deserializing) { }
     41    private NearestNeighbourClassificationSolution(StorableConstructorFlag _) : base(_) { }
    4242    private NearestNeighbourClassificationSolution(NearestNeighbourClassificationSolution original, Cloner cloner)
    4343      : base(original, cloner) {
  • stable/HeuristicLab.Algorithms.DataAnalysis/3.4/NearestNeighbour/NearestNeighbourModel.cs

    r17054 r17097  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    2525using HeuristicLab.Common;
    2626using HeuristicLab.Core;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HEAL.Attic;
    2828using HeuristicLab.Problems.DataAnalysis;
    2929
     
    3232  /// Represents a nearest neighbour model for regression and classification
    3333  /// </summary>
    34   [StorableClass]
     34  [StorableType("A76C0823-3077-4ACE-8A40-E9B717C7DB60")]
    3535  [Item("NearestNeighbourModel", "Represents a nearest neighbour model for regression and classification.")]
    3636  public sealed class NearestNeighbourModel : ClassificationModel, INearestNeighbourModel {
     
    6666
    6767    [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();
    7270    }
    7371    private NearestNeighbourModel(NearestNeighbourModel original, Cloner cloner)
  • stable/HeuristicLab.Algorithms.DataAnalysis/3.4/NearestNeighbour/NearestNeighbourRegression.cs

    r15584 r17097  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    2727using HeuristicLab.Optimization;
    2828using HeuristicLab.Parameters;
    29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     29using HEAL.Attic;
    3030using HeuristicLab.Problems.DataAnalysis;
    3131
     
    3636  [Item("Nearest Neighbour Regression (kNN)", "Nearest neighbour regression data analysis algorithm (wrapper for ALGLIB).")]
    3737  [Creatable(CreatableAttribute.Categories.DataAnalysisRegression, Priority = 150)]
    38   [StorableClass]
     38  [StorableType("3F940BE0-4F44-4F7F-A3EE-E47423C7F22D")]
    3939  public sealed class NearestNeighbourRegression : FixedDataAnalysisAlgorithm<IRegressionProblem> {
    4040    private const string KParameterName = "K";
     
    6767
    6868    [StorableConstructor]
    69     private NearestNeighbourRegression(bool deserializing) : base(deserializing) { }
     69    private NearestNeighbourRegression(StorableConstructorFlag _) : base(_) { }
    7070    private NearestNeighbourRegression(NearestNeighbourRegression original, Cloner cloner)
    7171      : base(original, cloner) {
  • stable/HeuristicLab.Algorithms.DataAnalysis/3.4/NearestNeighbour/NearestNeighbourRegressionSolution.cs

    r15584 r17097  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    2222using HeuristicLab.Common;
    2323using HeuristicLab.Core;
    24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     24using HEAL.Attic;
    2525using HeuristicLab.Problems.DataAnalysis;
    2626
     
    3030  /// </summary>
    3131  [Item("NearestNeighbourRegressionSolution", "Represents a nearest neighbour solution for a regression problem which can be visualized in the GUI.")]
    32   [StorableClass]
     32  [StorableType("71C86C1A-C917-4CA4-A239-C167C1C793F8")]
    3333  public sealed class NearestNeighbourRegressionSolution : RegressionSolution, INearestNeighbourRegressionSolution {
    3434
     
    3939
    4040    [StorableConstructor]
    41     private NearestNeighbourRegressionSolution(bool deserializing) : base(deserializing) { }
     41    private NearestNeighbourRegressionSolution(StorableConstructorFlag _) : base(_) { }
    4242    private NearestNeighbourRegressionSolution(NearestNeighbourRegressionSolution original, Cloner cloner)
    4343      : base(original, cloner) {
Note: See TracChangeset for help on using the changeset viewer.