Changeset 397 for trunk/sources/HeuristicLab.DataAnalysis/DatasetParser.cs
- Timestamp:
- 07/29/08 11:37:13 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.DataAnalysis/DatasetParser.cs
r363 r397 37 37 private const string VALIDATIONSAMPLESSTART = "VALIDATIONSAMPLESSTART"; 38 38 private const string VALIDATIONSAMPLESEND = "VALIDATIONSAMPLESEND"; 39 private const string TESTSAMPLESSTART = "TESTSAMPLESSTART"; 40 private const string TESTSAMPLESEND = "TESTSAMPLESEND"; 39 41 private Tokenizer tokenizer; 40 42 private Dictionary<string, List<Token>> metadata; … … 138 140 if(metadata.ContainsKey(VALIDATIONSAMPLESEND)) { 139 141 return metadata[VALIDATIONSAMPLESEND][0].intValue; 142 } else return rows; 143 } 144 } 145 public int TestSamplesStart { 146 get { 147 if(metadata.ContainsKey(TESTSAMPLESSTART)) { 148 return metadata[TESTSAMPLESSTART][0].intValue; 149 } else return 0; 150 } 151 } 152 153 public int TestSamplesEnd { 154 get { 155 if(metadata.ContainsKey(TESTSAMPLESEND)) { 156 return metadata[TESTSAMPLESEND][0].intValue; 140 157 } else return rows; 141 158 }
Note: See TracChangeset
for help on using the changeset viewer.