Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/07/14 13:20:12 (10 years ago)
Author:
rstoll
Message:
  • Disabled menu such as average in selection and co. if selected cells are only of string columns
  • GetVariance -> using GetValuesWithoutNaN as well
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/StatisticsLogic.cs

    r10811 r10812  
    2424using System.Linq;
    2525using HeuristicLab.Common;
    26 using System.Collections;
    2726
    2827namespace HeuristicLab.DataPreprocessing {
     
    139138      double variance = double.NaN;
    140139      if (preprocessingData.IsType<double>(columnIndex)) {
    141         variance = preprocessingData.GetValues<double>(columnIndex).Variance();
     140        variance = GetValuesWithoutNaN<double>(columnIndex).Variance();
    142141      } else if (preprocessingData.IsType<DateTime>(columnIndex)) {
    143142        variance = GetDateTimeAsSeconds(columnIndex).Variance();
Note: See TracChangeset for help on using the changeset viewer.