Changeset 7138 for branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Trent McConaghy/HighSenseampDelay.cs
- Timestamp:
- 12/06/11 17:33:23 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Trent McConaghy/HighSenseampDelay.cs
r7127 r7138 37 37 + "Authors: T. McConaghy" + Environment.NewLine 38 38 + "Website: http://trent.st/ffx/"; 39 40 trainingPartition = new IntRange(0, 3750); 39 41 } 40 42 … … 44 46 targetVariable = csvFileParser.VariableNames.First(); 45 47 inputVariables = new List<string>(csvFileParser.VariableNames.Skip(1)); 46 int trainingPartEnd = csvFileParser.Rows * 2 / 3; 47 trainingPartition = new IntRange(0, trainingPartEnd); 48 testPartition = new IntRange(trainingPartEnd, csvFileParser.Rows); 48 49 testPartition = new IntRange(trainingPartition.End, csvFileParser.Rows); 49 50 50 51 return csvFileParser.Values;
Note: See TracChangeset
for help on using the changeset viewer.