Changeset 8693 for trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Classification/CSV/ClassifiactionCSVInstanceProvider.cs
- Timestamp:
- 09/25/12 10:57:42 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Classification/CSV/ClassifiactionCSVInstanceProvider.cs
r8685 r8693 96 96 csvFileParser.Parse(path); 97 97 98 int trainingPartEnd = (csvFileParser.Rows * type.Training) / 100; 98 99 List<IList> values = csvFileParser.Values; 99 100 if (type.Shuffle) { … … 106 107 // turn of input variables that are constant in the training partition 107 108 var allowedInputVars = new List<string>(); 108 int trainingPartEnd = (csvFileParser.Rows * type.Training) / 100;109 109 var trainingIndizes = Enumerable.Range(0, trainingPartEnd); 110 110 foreach (var variableName in dataset.DoubleVariables) {
Note: See TracChangeset
for help on using the changeset viewer.