- Timestamp:
- 03/10/11 16:27:48 (13 years ago)
- Location:
- branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis/3.4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis/3.4/DiscriminantFunctionClassificationSolution.cs
r5657 r5664 77 77 return Model.Thresholds; 78 78 } 79 protected set { Model.Thresholds = value; }79 set { Model.Thresholds = new List<double>(value); } 80 80 } 81 81 … … 117 117 thresholds[thresholds.Length - 1] = double.PositiveInfinity; 118 118 119 double thresholdIncrement = (maxEstimatedValue - minEstimatedValue) / slices; 120 119 121 for (int i = 1; i < thresholds.Length - 1; i++) { 120 122 double lowerThreshold = thresholds[i - 1]; 121 double actualThreshold = minEstimatedValue; 122 double thresholdIncrement = (maxEstimatedValue - minEstimatedValue) / slices; 123 123 double actualThreshold = Math.Max(lowerThreshold, minEstimatedValue); 124 124 double lowestBestThreshold = double.NaN; 125 125 double highestBestThreshold = double.NaN; -
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis/3.4/Interfaces/Classification/IDiscriminantFunctionClassificationSolution.cs
r5649 r5664 31 31 IEnumerable<double> GetEstimatedValues(IEnumerable<int> rows); 32 32 33 IEnumerable<double> Thresholds { get; }33 IEnumerable<double> Thresholds { get; set; } 34 34 35 35 event EventHandler ThresholdsChanged;
Note: See TracChangeset
for help on using the changeset viewer.