Free cookie consent management tool by TermsFeed Policy Generator

Changeset 8098


Ignore:
Timestamp:
06/25/12 09:34:38 (12 years ago)
Author:
mkommend
Message:

#1708: Minor modifications in residual histogram` view.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.4/Regression/RegressionSolutionResidualHistogram.cs

    r7503 r8098  
    4141    /// used to reduce code duplication
    4242    /// </summary>
    43     protected static string[] ALL_SERIES = new string[] { ALL_SAMPLES, TRAINING_SAMPLES, TEST_SAMPLES };
     43    protected readonly string[] ALL_SERIES = new string[] { ALL_SAMPLES, TRAINING_SAMPLES, TEST_SAMPLES };
    4444    /// <summary>
    4545    /// approximate amount of bins
     
    5050    ///  residuals and the beginning and the end of the interval of the bin
    5151    ///  </summary>
    52     protected Dictionary<string, List<List<double>>> relativeFrequencies;
     52    protected readonly Dictionary<string, List<List<double>>> relativeFrequencies;
    5353    #endregion
    5454
     
    155155    private void CalculateFrequencies(List<double> residualValues, string series, double max, double intervalWidth) {
    156156      double intervalCenter = intervalWidth / 2.0;
    157       double sampleCount = residualValues.Count();
     157      double sampleCount = residualValues.Count;
    158158      double current = -max;
    159159
Note: See TracChangeset for help on using the changeset viewer.