Changeset 4781
- Timestamp:
- 11/12/10 13:48:32 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Classification/3.3/ClassificationProblemData.cs
r4780 r4781 246 246 InputVariables.SetItemCheckedState(validTargetVariables.First(), false); 247 247 int middle = (int)(csvFileParser.Rows * 0.5); 248 TrainingSamplesEnd = new IntValue(middle); 248 249 TrainingSamplesStart = new IntValue(0); 249 T rainingSamplesEnd = new IntValue(middle);250 TestSamplesEnd = new IntValue(csvFileParser.Rows); 250 251 TestSamplesStart = new IntValue(middle); 251 TestSamplesEnd = new IntValue(csvFileParser.Rows); 252 252 253 UpdateClassValues(); 253 254 suppressEvents = false; … … 257 258 protected override void OnProblemDataChanged(EventArgs e) { 258 259 base.OnProblemDataChanged(e); 259 UpdateClassValues(); 260 if (!suppressEvents) 261 UpdateClassValues(); 260 262 } 261 263 … … 310 312 311 313 private void UpdateMisclassifciationMatrixHeaders() { 312 MisclassificationMatrix.RowNames = ClassNames.Select(name => "Estimated " + name).ToList() 314 MisclassificationMatrix.RowNames = ClassNames.Select(name => "Estimated " + name).ToList(); 313 315 MisclassificationMatrix.ColumnNames = ClassNames.Select(name => "Actual " + name).ToList(); 314 316 }
Note: See TracChangeset
for help on using the changeset viewer.