Changeset 7127 for branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/RealWorldProblems/TowerProblem.cs
- Timestamp:
- 12/05/11 17:03:49 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/RealWorldProblems/TowerProblem.cs
r7085 r7127 41 41 42 42 protected override List<IList> GetData() { 43 csvFileParser = RegressionRealWorldBenchmark.getParserForFile(fileName);43 csvFileParser = Benchmark.getParserForFile(fileName); 44 44 45 45 targetVariable = csvFileParser.VariableNames.Last(); … … 47 47 int trainingPartEnd = csvFileParser.Rows * 2 / 3; 48 48 trainingPartition = new IntRange(0, trainingPartEnd); 49 testPartition = new IntRange(trainingPartEnd + 1, csvFileParser.Rows);49 testPartition = new IntRange(trainingPartEnd, csvFileParser.Rows); 50 50 51 51 return csvFileParser.Values.Skip(csvFileParser.Columns - 1).Union(csvFileParser.Values.Take(csvFileParser.Columns - 1)).ToList();
Note: See TracChangeset
for help on using the changeset viewer.