Free cookie consent management tool by TermsFeed Policy Generator

Changeset 4835


Ignore:
Timestamp:
11/18/10 13:50:45 (14 years ago)
Author:
mkommend
Message:

Corrected memory leak in Problems.DataAnalysis (ticket #1268).

File:
1 edited

Legend:

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

    r4780 r4835  
    6969    #endregion
    7070    #region parameter properties
    71     public IValueParameter<Dataset> DatasetParameter {
    72       get { return (IValueParameter<Dataset>)Parameters["Dataset"]; }
     71    public ValueParameter<Dataset> DatasetParameter {
     72      get { return (ValueParameter<Dataset>)Parameters["Dataset"]; }
    7373    }
    7474    public IValueParameter<StringValue> TargetVariableParameter {
     
    214214      Parameters.Add(new ValueParameter<IntValue>("TestSamplesEnd", new IntValue(25)));
    215215      Parameters.Add(new ValueParameter<PercentValue>("ValidationPercentage", "The relative amount of the training samples that should be used as validation set.", new PercentValue(0.5)));
     216
     217      DatasetParameter.ReactOnValueToStringChangedAndValueItemImageChanged = false;
    216218      RegisterParameterEventHandlers();
    217219      RegisterParameterValueEventHandlers();
     
    235237      Parameters.Add(new ValueParameter<IntValue>("TestSamplesEnd", new IntValue(testSamplesEnd)));
    236238      Parameters.Add(new ValueParameter<PercentValue>("ValidationPercentage", "The relative amount of the training samples that should be used as validation set.", new PercentValue(0.5)));
     239
     240      DatasetParameter.ReactOnValueToStringChangedAndValueItemImageChanged = false;
    237241      RegisterParameterEventHandlers();
    238242      RegisterParameterValueEventHandlers();
     
    248252        Parameters.Add(new ValueParameter<PercentValue>("ValidationPercentage", "The relative amount of the training samples that should be used as validation set.", new PercentValue(0.5)));
    249253
     254      DatasetParameter.ReactOnValueToStringChangedAndValueItemImageChanged = false;
    250255      RegisterParameterEventHandlers();
    251256      RegisterParameterValueEventHandlers();
Note: See TracChangeset for help on using the changeset viewer.