Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/19/10 12:34:51 (14 years ago)
Author:
mkommend
Message:

Corrected handling of ClassNames in the ClassificationProblemData (ticket #939).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Classification/3.3/ClassificationProblemData.cs

    r4469 r4618  
    212212    private void AfterDeserializationHook() {
    213213      RegisterParameterEvents();
     214      RegisterParameterValueEvents();
    214215    }
    215216
     
    219220      clone.UpdateClassValues();
    220221      return clone;
    221     }
    222 
    223     protected override void OnProblemDataChanged(System.EventArgs e) {
    224       if (!suppressEvents) {
    225         UpdateClassValues();
    226         base.OnProblemDataChanged(e);
    227       }
    228222    }
    229223
     
    254248      TestSamplesStart = new IntValue(middle);
    255249      TestSamplesEnd = new IntValue(csvFileParser.Rows);
     250      UpdateClassValues();
    256251      suppressEvents = false;
    257252      OnProblemDataChanged(EventArgs.Empty);
     
    310305      MisclassificationMatrix.ColumnNames = ClassNames.Select(name => "Actual " + name);
    311306    }
    312 
    313 
    314307  }
    315308}
Note: See TracChangeset for help on using the changeset viewer.