Changeset 13427 for trunk/sources/HeuristicLab.DataPreprocessing
- Timestamp:
- 12/02/15 09:50:02 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.DataPreprocessing/3.4/Implementations/PreprocessingData.cs
r13252 r13427 134 134 } 135 135 136 private static IList CreateColumn<T>(Dataset ds, int column, Func<string, T> selector) {137 var list = new List<T>(ds.Rows);138 for (int row = 0; row < ds.Rows; ++row) {139 list.Add(selector(ds.GetValue(row, column)));140 }141 return list;142 }143 144 136 private void CheckPartitionRanges() { 145 137 int maxRowIndex = Math.Max(0, Rows - 1);
Note: See TracChangeset
for help on using the changeset viewer.