- Timestamp:
- 06/28/21 10:35:19 (3 years ago)
- Location:
- trunk/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionProblemData.cs
r17958 r17999 130 130 private void AfterDeserialization() { 131 131 if (!Parameters.ContainsKey(VariableRangesParameterName)) { 132 var intervalCollection = Dataset.GetIntervals();132 var variableRanges = Dataset.GetVariableRanges(); 133 133 Parameters.Add(new FixedValueParameter<IntervalCollection>(VariableRangesParameterName, intervalCollection)); 134 134 } … … 164 164 Parameters.Add(new ConstrainedValueParameter<StringValue>(TargetVariableParameterName, new ItemSet<StringValue>(variables), variables.Where(x => x.Value == targetVariable).First())); 165 165 if (variableRanges == null) { 166 variableRanges = Dataset.Get Intervals();166 variableRanges = Dataset.GetVariableRanges(); 167 167 } 168 168 Parameters.Add(new FixedValueParameter<IntervalCollection>(VariableRangesParameterName, variableRanges)); -
trunk/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/ShapeConstrainedRegressionProblemData.cs
r17982 r17999 100 100 new ShapeConstraint("x", 1, new Interval(0, double.PositiveInfinity), 1.0) 101 101 }; 102 defaultVariableRanges = defaultDataset.Get Intervals();102 defaultVariableRanges = defaultDataset.GetVariableRanges(); 103 103 defaultVariableRanges.SetInterval("x", new Interval(0, 6)); 104 104
Note: See TracChangeset
for help on using the changeset viewer.