Changeset 16763
- Timestamp:
- 04/04/19 15:47:41 (6 years ago)
- Location:
- trunk
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.Algorithms.DataAnalysis/3.4/NearestNeighbour/NearestNeighbourModel.cs
r16565 r16763 294 294 return IsProblemDataCompatible(classificationProblemData, out errorMessage); 295 295 296 throw new ArgumentException("The problem data is not a regression nor a classification problem data. Instead a " + problemData.GetType().GetPrettyName() + " was provided.", "problemData");296 throw new ArgumentException("The problem data is not compatible with this nearest neighbour model. Instead a " + problemData.GetType().GetPrettyName() + " was provided.", "problemData"); 297 297 } 298 298 -
trunk/HeuristicLab.Algorithms.DataAnalysis/3.4/NeuralNetwork/NeuralNetworkEnsembleModel.cs
r16565 r16763 144 144 return IsProblemDataCompatible(classificationProblemData, out errorMessage); 145 145 146 throw new ArgumentException("The problem data is not a regression nor a classification problem data. Instead a " + problemData.GetType().GetPrettyName() + " was provided.", "problemData");146 throw new ArgumentException("The problem data is not compatible with this neural network ensemble. Instead a " + problemData.GetType().GetPrettyName() + " was provided.", "problemData"); 147 147 } 148 148 -
trunk/HeuristicLab.Algorithms.DataAnalysis/3.4/NeuralNetwork/NeuralNetworkModel.cs
r16565 r16763 147 147 return IsProblemDataCompatible(classificationProblemData, out errorMessage); 148 148 149 throw new ArgumentException("The problem data is not a regression nor a classification problem data. Instead a " + problemData.GetType().GetPrettyName() + " was provided.", "problemData");149 throw new ArgumentException("The problem data is not compatible with this neural network. Instead a " + problemData.GetType().GetPrettyName() + " was provided.", "problemData"); 150 150 } 151 151 -
trunk/HeuristicLab.Algorithms.DataAnalysis/3.4/RandomForest/RandomForestModel.cs
r16565 r16763 300 300 return IsProblemDataCompatible(classificationProblemData, out errorMessage); 301 301 302 throw new ArgumentException("The problem data is not a regression nor a classification problem data. Instead a " + problemData.GetType().GetPrettyName() + " was provided.", "problemData");302 throw new ArgumentException("The problem data is not compatible with this random forest. Instead a " + problemData.GetType().GetPrettyName() + " was provided.", "problemData"); 303 303 } 304 304 -
trunk/HeuristicLab.Algorithms.DataAnalysis/3.4/SupportVectorMachine/SupportVectorMachineModel.cs
r16565 r16763 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 -
trunk/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/SymbolicClassificationModel.cs
r16565 r16763 81 81 var classificationProblemData = problemData as IClassificationProblemData; 82 82 if (classificationProblemData == null) 83 throw new ArgumentException("The problem data is not a regression problem data. Instead a " + problemData.GetType().GetPrettyName() + " was provided.", "problemData");83 throw new ArgumentException("The problem data is not compatible with this classification model. Instead a " + problemData.GetType().GetPrettyName() + " was provided.", "problemData"); 84 84 return IsProblemDataCompatible(classificationProblemData, out errorMessage); 85 85 } -
trunk/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SymbolicRegressionModel.cs
r16565 r16763 90 90 var regressionProblemData = problemData as IRegressionProblemData; 91 91 if (regressionProblemData == null) 92 throw new ArgumentException("The problem data is not a regression problem data. Instead a " + problemData.GetType().GetPrettyName() + " was provided.", "problemData");92 throw new ArgumentException("The problem data is not compatible with this symbolic regression model. Instead a " + problemData.GetType().GetPrettyName() + " was provided.", "problemData"); 93 93 return IsProblemDataCompatible(regressionProblemData, out errorMessage); 94 94 } -
trunk/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Classification/ClassificationModel.cs
r16565 r16763 75 75 var classificationProblemData = problemData as IClassificationProblemData; 76 76 if (classificationProblemData == null) 77 throw new ArgumentException("The problem data is not a regression problem data. Instead a " + problemData.GetType().GetPrettyName() + " was provided.", "problemData");77 throw new ArgumentException("The problem data is not compatible with this classification model. Instead a " + problemData.GetType().GetPrettyName() + " was provided.", "problemData"); 78 78 return IsProblemDataCompatible(classificationProblemData, out errorMessage); 79 79 } -
trunk/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/ConstantModel.cs
r16565 r16763 98 98 return IsProblemDataCompatible(classificationProblemData, out errorMessage); 99 99 100 throw new ArgumentException("The problem data is not a regression nor a classification problem data. Instead a " + problemData.GetType().GetPrettyName() + " was provided.", "problemData");100 throw new ArgumentException("The problem data is compatible with this model. Instead a " + problemData.GetType().GetPrettyName() + " was provided.", "problemData"); 101 101 } 102 102 -
trunk/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionModel.cs
r16565 r16763 76 76 var regressionProblemData = problemData as IRegressionProblemData; 77 77 if (regressionProblemData == null) 78 throw new ArgumentException("The problem data is not a regression problem data. Instead a " + problemData.GetType().GetPrettyName() + " was provided.", "problemData");78 throw new ArgumentException("The problem data is not compatible with this regression model. Instead a " + problemData.GetType().GetPrettyName() + " was provided.", "problemData"); 79 79 return IsProblemDataCompatible(regressionProblemData, out errorMessage); 80 80 }
Note: See TracChangeset
for help on using the changeset viewer.