Changeset 9995
- Timestamp:
- 09/19/13 18:04:26 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Trading/3.4/CsvProblemInstanceProvider.cs
r9989 r9995 72 72 if (trainingIndizes.Count() >= 2) { 73 73 foreach (var variableName in dataset.DoubleVariables) { 74 if (dataset.GetDoubleValues(variableName, trainingIndizes).Range() > 0 && 75 variableName != targetVar) 74 if (dataset.GetDoubleValues(variableName, trainingIndizes).Range() > 0) 76 75 allowedInputVars.Add(variableName); 77 76 } 78 77 } else { 79 allowedInputVars.AddRange(dataset.DoubleVariables .Where(x => !x.Equals(targetVar)));78 allowedInputVars.AddRange(dataset.DoubleVariables); 80 79 } 81 80
Note: See TracChangeset
for help on using the changeset viewer.