Free cookie consent management tool by TermsFeed Policy Generator

Changeset 8543


Ignore:
Timestamp:
08/30/12 11:56:10 (12 years ago)
Author:
mkommend
Message:

#1292: Removed the feature correlation from the data analysis problem data as the implemenation is not yet finished and otherwise it could lead to persistence breaks.

File:
1 edited

Legend:

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

    r8542 r8543  
    5252      get { return (IFixedValueParameter<IntRange>)Parameters[TestPartitionParameterName]; }
    5353    }
    54     public IFixedValueParameter<FeatureCorrelation> DatasetCorrelationParameter {
    55       get { return (IFixedValueParameter<FeatureCorrelation>)Parameters[DatasetCorrelationParameterName]; }
    56     }
    5754    #endregion
    5855
     
    7774    public IntRange TestPartition {
    7875      get { return TestPartitionParameter.Value; }
    79     }
    80     public FeatureCorrelation DatasetCorrelation {
    81       get { return DatasetCorrelationParameter.Value; }
    8276    }
    8377
     
    118112    private void AfterDeserialization() {
    119113      RegisterEventHandlers();
    120       #region Backwards compatible code, remove with 3.4
    121       if (!Parameters.ContainsKey(DatasetCorrelationParameterName)) {
    122         Parameters.Add(new FixedValueParameter<FeatureCorrelation>(DatasetCorrelationParameterName, "", new FeatureCorrelation(this)));
    123       }
    124       #endregion
    125114    }
    126115
     
    145134      Parameters.Add(new FixedValueParameter<IntRange>(TrainingPartitionParameterName, "", new IntRange(trainingPartitionStart, trainingPartitionEnd)));
    146135      Parameters.Add(new FixedValueParameter<IntRange>(TestPartitionParameterName, "", new IntRange(testPartitionStart, testPartitionEnd)));
    147       Parameters.Add(new FixedValueParameter<FeatureCorrelation>(DatasetCorrelationParameterName, "", new FeatureCorrelation(this)));
    148136
    149137      ((ValueParameter<Dataset>)DatasetParameter).ReactOnValueToStringChangedAndValueItemImageChanged = false;
Note: See TracChangeset for help on using the changeset viewer.