Ignore:
Timestamp:
06/28/21 10:35:19 (11 months ago)
Author:
mkommend
Message:

#3129: Work on variable range calculation of datasets.

Renamed method to calculate variable ranges to a more appropriate method name.
Added possibility to ignore NaNs for range calculation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionProblemData.cs

    r17958 r17999  
    130130    private void AfterDeserialization() {
    131131      if (!Parameters.ContainsKey(VariableRangesParameterName)) {
    132         var intervalCollection = Dataset.GetIntervals();
     132        var variableRanges = Dataset.GetVariableRanges();
    133133        Parameters.Add(new FixedValueParameter<IntervalCollection>(VariableRangesParameterName, intervalCollection));
    134134      }
     
    164164      Parameters.Add(new ConstrainedValueParameter<StringValue>(TargetVariableParameterName, new ItemSet<StringValue>(variables), variables.Where(x => x.Value == targetVariable).First()));
    165165      if (variableRanges == null) {
    166         variableRanges = Dataset.GetIntervals();
     166        variableRanges = Dataset.GetVariableRanges();
    167167      }
    168168      Parameters.Add(new FixedValueParameter<IntervalCollection>(VariableRangesParameterName, variableRanges));
Note: See TracChangeset for help on using the changeset viewer.