Changeset 16842 for branches/2847_M5Regression/HeuristicLab.Algorithms.DataAnalysis/3.4/SupportVectorMachine/SupportVectorMachineModel.cs
- Timestamp:
- 04/19/19 11:05:52 (5 years ago)
- Location:
- branches/2847_M5Regression/HeuristicLab.Algorithms.DataAnalysis
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2847_M5Regression/HeuristicLab.Algorithms.DataAnalysis
- Property svn:mergeinfo changed
-
branches/2847_M5Regression/HeuristicLab.Algorithms.DataAnalysis/3.4
- Property svn:mergeinfo changed
-
branches/2847_M5Regression/HeuristicLab.Algorithms.DataAnalysis/3.4/SupportVectorMachine/SupportVectorMachineModel.cs
r16538 r16842 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.Common; 28 28 using HeuristicLab.Core; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Attic; 30 30 using HeuristicLab.Problems.DataAnalysis; 31 31 using LibSVM; … … 35 35 /// Represents a support vector machine model. 36 36 /// </summary> 37 [Storable Class]37 [StorableType("669B0522-A27B-4DA6-B655-27C374D88C95")] 38 38 [Item("SupportVectorMachineModel", "Represents a support vector machine model.")] 39 39 public sealed class SupportVectorMachineModel : ClassificationModel, ISupportVectorMachineModel { … … 92 92 93 93 [StorableConstructor] 94 private SupportVectorMachineModel( bool deserializing) : base(deserializing) { }94 private SupportVectorMachineModel(StorableConstructorFlag _) : base(_) { } 95 95 private SupportVectorMachineModel(SupportVectorMachineModel original, Cloner cloner) 96 96 : base(original, cloner) { … … 143 143 return IsProblemDataCompatible(classificationProblemData, out errorMessage); 144 144 145 throw new ArgumentException("The problem data is not a regression nor a classification problem data. Instead a " + problemData.GetType().GetPrettyName() + " was provided.", "problemData");145 throw new ArgumentException("The problem data is not compatible with this SVM. Instead a " + problemData.GetType().GetPrettyName() + " was provided.", "problemData"); 146 146 } 147 147
Note: See TracChangeset
for help on using the changeset viewer.