- Timestamp:
- 09/29/14 15:02:20 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.DataPreprocessing/3.4/Implementations/ManipulationLogic.cs
r11380 r11403 225 225 } 226 226 227 public void ShuffleWithRanges(bool shuffleRangesSeparately) { 227 public void Shuffle(bool shuffleRangesSeparately) { 228 Random random = new Random(); 228 229 var ranges = new[] { preprocessingData.TestPartition, preprocessingData.TrainingPartition }; 229 ShuffleWithRanges(ranges, shuffleRangesSeparately);230 }231 232 public void ShuffleWithRanges(IEnumerable<IntRange> ranges, bool shuffleRangesSeparately) {233 // init random outside loop234 Random random = new Random();235 236 230 if (shuffleRangesSeparately) { 237 231 preprocessingData.InTransaction(() => {
Note: See TracChangeset
for help on using the changeset viewer.