Changeset 11686
- Timestamp:
- 12/16/14 12:18:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Classification-Extensions/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Classification/ClassificationPerformanceMeasures.cs
r11685 r11686 139 139 if (!string.IsNullOrWhiteSpace(ClassificationPositiveClassName) 140 140 && !ClassificationPositiveClassName.Equals(trainingPerformanceCalculator.PositiveClassName)) 141 throw new ArgumentException( );141 throw new ArgumentException("Classification positive class of the training data doesn't match with the data of test partition."); 142 142 ClassificationPositiveClassName = trainingPerformanceCalculator.PositiveClassName; 143 143 TrainingTruePositiveRate = trainingPerformanceCalculator.TruePositiveRate; … … 152 152 if (!string.IsNullOrWhiteSpace(ClassificationPositiveClassName) 153 153 && !ClassificationPositiveClassName.Equals(testPerformanceCalculator.PositiveClassName)) 154 throw new ArgumentException( );154 throw new ArgumentException("Classification positive class of the test data doesn't match with the data of training partition."); 155 155 ClassificationPositiveClassName = testPerformanceCalculator.PositiveClassName; 156 156 TestTruePositiveRate = testPerformanceCalculator.TruePositiveRate;
Note: See TracChangeset
for help on using the changeset viewer.