Changeset 18108 for trunk/HeuristicLab.Problems.DataAnalysis
- Timestamp:
- 12/08/21 18:34:19 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/ShapeConstrainedRegressionProblemData.cs
r18034 r18108 145 145 : this(regressionProblemData.Dataset, regressionProblemData.AllowedInputVariables, regressionProblemData.TargetVariable, 146 146 regressionProblemData.TrainingPartition, regressionProblemData.TestPartition, regressionProblemData.Transformations, 147 (regressionProblemData is ShapeConstrainedRegressionProblemData ) ? ((ShapeConstrainedRegressionProblemData)regressionProblemData).ShapeConstraints : null,147 (regressionProblemData is ShapeConstrainedRegressionProblemData scProblemData) ? scProblemData.ShapeConstraints : null, 148 148 regressionProblemData.VariableRanges) { 149 149 } … … 159 159 if (sc == null) sc = new ShapeConstraints(); 160 160 Parameters.Add(new FixedValueParameter<ShapeConstraints>(ShapeConstraintsParameterName, "Specifies the shape constraints for the regression problem.", (ShapeConstraints)sc.Clone())); 161 161 foreach (var entry in variableRanges.GetVariableIntervals()) 162 VariableRanges.SetInterval(entry.Item1, entry.Item2); 162 163 RegisterEventHandlers(); 163 164 }
Note: See TracChangeset
for help on using the changeset viewer.