Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/04/12 12:59:09 (12 years ago)
Author:
gkronber
Message:

#1890: added rounding to 3 digits for variable impacts. as it is not useful to show all digits.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Analyzers/SymbolicDataAnalysisVariableFrequencyAnalyzer.cs

    r7259 r8735  
    109109      // update variable impacts matrix
    110110      var orderedImpacts = (from row in datatable.Rows
    111                             select new { Name = row.Name, Impact = datatable.Rows[row.Name].Values.Average() })
     111                            select new { Name = row.Name, Impact = Math.Round(datatable.Rows[row.Name].Values.Average(), 3) })
    112112                           .OrderByDescending(p => p.Impact)
    113113                           .ToList();
Note: See TracChangeset for help on using the changeset viewer.