Changeset 10580 for branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/ManipulationLogic.cs
- Timestamp:
- 03/12/14 15:30:38 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/ManipulationLogic.cs
r10539 r10580 126 126 Random random = new Random(); 127 127 128 preprocessingData.BeginTransaction(); 128 129 // process all given ranges - e.g. TrainingPartition, Trainingpartition 129 130 foreach (IntRange range in ranges) { … … 138 139 ReOrderToIndices(shuffledIndices); 139 140 } 141 preprocessingData.EndTransaction(); 140 142 } 141 143 … … 151 153 152 154 public void ReOrderToIndices(IList<System.Tuple<int, int>> indices) { 155 preprocessingData.BeginTransaction(); 153 156 for (int i = 0; i < preprocessingData.Columns; ++i) { 154 157 if (preprocessingData.IsType<double>(i)) { … … 160 163 } 161 164 } 165 preprocessingData.EndTransaction(); 162 166 } 163 167
Note: See TracChangeset
for help on using the changeset viewer.