Changeset 14029 for branches/crossvalidation-2434/HeuristicLab.DataPreprocessing.Views/3.4/StatisticsView.cs
- Timestamp:
- 07/08/16 14:40:02 (8 years ago)
- Location:
- branches/crossvalidation-2434
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/crossvalidation-2434
- Property svn:mergeinfo changed
-
branches/crossvalidation-2434/HeuristicLab.DataPreprocessing.Views
-
branches/crossvalidation-2434/HeuristicLab.DataPreprocessing.Views/3.4/StatisticsView.cs
r12931 r14029 146 146 logic.GetColumnTypeAsString(columnIndex), 147 147 logic.GetMissingValueCount(columnIndex).ToString(), 148 logic.GetMin<double>(columnIndex ).ToString(),149 logic.GetMax<double>(columnIndex ).ToString(),148 logic.GetMin<double>(columnIndex,double.NaN).ToString(), 149 logic.GetMax<double>(columnIndex,double.NaN).ToString(), 150 150 logic.GetMedian(columnIndex).ToString(), 151 151 logic.GetAverage(columnIndex).ToString(), … … 154 154 logic.GetOneQuarterPercentile(columnIndex).ToString(), 155 155 logic.GetThreeQuarterPercentile(columnIndex).ToString(), 156 logic.GetMostCommonValue<double>(columnIndex ).ToString(),156 logic.GetMostCommonValue<double>(columnIndex,double.NaN).ToString(), 157 157 logic.GetDifferentValuesCount<double>(columnIndex).ToString() 158 158 }; … … 172 172 "", //quarter percentile 173 173 "", //three quarter percentile 174 logic.GetMostCommonValue<string>(columnIndex ) ?? "",174 logic.GetMostCommonValue<string>(columnIndex,string.Empty) ?? "", 175 175 logic.GetDifferentValuesCount<string>(columnIndex).ToString() 176 176 }; … … 182 182 logic.GetColumnTypeAsString(columnIndex), 183 183 logic.GetMissingValueCount(columnIndex).ToString(), 184 logic.GetMin<DateTime>(columnIndex ).ToString(),185 logic.GetMax<DateTime>(columnIndex ).ToString(),184 logic.GetMin<DateTime>(columnIndex,DateTime.MinValue).ToString(), 185 logic.GetMax<DateTime>(columnIndex,DateTime.MinValue).ToString(), 186 186 logic.GetMedianDateTime(columnIndex).ToString(), 187 187 logic.GetAverageDateTime(columnIndex).ToString(), … … 190 190 logic.GetOneQuarterPercentile(columnIndex).ToString(), 191 191 logic.GetThreeQuarterPercentile(columnIndex).ToString(), 192 logic.GetMostCommonValue<DateTime>(columnIndex ).ToString(),192 logic.GetMostCommonValue<DateTime>(columnIndex,DateTime.MinValue).ToString(), 193 193 logic.GetDifferentValuesCount<DateTime>(columnIndex).ToString() 194 194 };
Note: See TracChangeset
for help on using the changeset viewer.