Changeset 11414 for stable/HeuristicLab.DataPreprocessing
- Timestamp:
- 10/06/14 13:13:22 (10 years ago)
- Location:
- stable
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 11382
- Property svn:mergeinfo changed
-
stable/HeuristicLab.DataPreprocessing/3.4/ProblemDataCreator.cs
r11170 r11414 22 22 using System; 23 23 using System.Collections.Generic; 24 using System.Linq; 24 25 using HeuristicLab.Common; 25 26 using HeuristicLab.Problems.DataAnalysis; … … 58 59 59 60 SetTrainingAndTestPartition(problemData); 61 // set the input variables to the correct checked state 62 var inputVariables = problemData.InputVariables.ToDictionary(x => x.Value, x => x); 63 foreach (var variable in oldProblemData.InputVariables) { 64 bool @checked = oldProblemData.InputVariables.ItemChecked(variable); 65 problemData.InputVariables.SetItemCheckedState(inputVariables[variable.Value], @checked); 66 } 60 67 61 68 return problemData;
Note: See TracChangeset
for help on using the changeset viewer.