- Timestamp:
- 11/19/12 15:11:44 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/SymbolicDiscriminantFunctionClassificationModel.cs
r8883 r8921 88 88 var classValuesArr = classValues.ToArray(); 89 89 var thresholdsArr = thresholds.ToArray(); 90 if (thresholdsArr.Length != classValuesArr.Length) throw new ArgumentException(); 90 if (thresholdsArr.Length != classValuesArr.Length || thresholdsArr.Length < 1) 91 throw new ArgumentException(); 92 if (!double.IsNegativeInfinity(thresholds.First())) 93 throw new ArgumentException(); 91 94 92 95 this.classValues = classValuesArr;
Note: See TracChangeset
for help on using the changeset viewer.