Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/02/15 09:50:02 (8 years ago)
Author:
mkommend
Message:

#2536: Implemented IStringConvertibleMatrix explicitly in Dataset.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.DataPreprocessing/3.4/Implementations/PreprocessingData.cs

    r13252 r13427  
    134134    }
    135135
    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 
    144136    private void CheckPartitionRanges() {
    145137      int maxRowIndex = Math.Max(0, Rows - 1);
Note: See TracChangeset for help on using the changeset viewer.