Changeset 16311 for branches/2845_EnhancedProgress/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/SymbolicClassificationModel.cs
- Timestamp:
- 11/20/18 15:26:57 (6 years ago)
- Location:
- branches/2845_EnhancedProgress
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2845_EnhancedProgress
- Property svn:mergeinfo changed
-
branches/2845_EnhancedProgress/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification
- Property svn:mergeinfo changed
-
branches/2845_EnhancedProgress/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/SymbolicClassificationModel.cs
r16308 r16311 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 6Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 74 74 } 75 75 76 public virtual bool IsProblemDataCompatible(IClassificationProblemData problemData, out string errorMessage) { 77 return ClassificationModel.IsProblemDataCompatible(this, problemData, out errorMessage); 78 } 79 80 public override bool IsProblemDataCompatible(IDataAnalysisProblemData problemData, out string errorMessage) { 81 if (problemData == null) throw new ArgumentNullException("problemData", "The provided problemData is null."); 82 var classificationProblemData = problemData as IClassificationProblemData; 83 if (classificationProblemData == null) 84 throw new ArgumentException("The problem data is not a regression problem data. Instead a " + problemData.GetType().GetPrettyName() + " was provided.", "problemData"); 85 return IsProblemDataCompatible(classificationProblemData, out errorMessage); 86 } 87 76 88 #region events 77 89 public event EventHandler TargetVariableChanged;
Note: See TracChangeset
for help on using the changeset viewer.