Changeset 8098
- Timestamp:
- 06/25/12 09:34:38 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.4/Regression/RegressionSolutionResidualHistogram.cs
r7503 r8098 41 41 /// used to reduce code duplication 42 42 /// </summary> 43 protected staticstring[] ALL_SERIES = new string[] { ALL_SAMPLES, TRAINING_SAMPLES, TEST_SAMPLES };43 protected readonly string[] ALL_SERIES = new string[] { ALL_SAMPLES, TRAINING_SAMPLES, TEST_SAMPLES }; 44 44 /// <summary> 45 45 /// approximate amount of bins … … 50 50 /// residuals and the beginning and the end of the interval of the bin 51 51 /// </summary> 52 protected Dictionary<string, List<List<double>>> relativeFrequencies;52 protected readonly Dictionary<string, List<List<double>>> relativeFrequencies; 53 53 #endregion 54 54 … … 155 155 private void CalculateFrequencies(List<double> residualValues, string series, double max, double intervalWidth) { 156 156 double intervalCenter = intervalWidth / 2.0; 157 double sampleCount = residualValues.Count ();157 double sampleCount = residualValues.Count; 158 158 double current = -max; 159 159
Note: See TracChangeset
for help on using the changeset viewer.