Changeset 17961
- Timestamp:
- 04/23/21 16:57:17 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/ShapeConstrainedRegressionProblemData.cs
r17960 r17961 119 119 public ShapeConstrainedRegressionProblemData(IRegressionProblemData regressionProblemData) 120 120 : this(regressionProblemData.Dataset, regressionProblemData.AllowedInputVariables, regressionProblemData.TargetVariable, 121 regressionProblemData.TrainingPartition, regressionProblemData.TestPartition ) {121 regressionProblemData.TrainingPartition, regressionProblemData.TestPartition, regressionProblemData.Transformations, null, regressionProblemData.VariableRanges) { 122 122 } 123 123 124 124 public ShapeConstrainedRegressionProblemData(IDataset dataset, IEnumerable<string> allowedInputVariables, string targetVariable, 125 125 IntRange trainingPartition, IntRange testPartition, 126 IEnumerable<ITransformation> transformations = null, ShapeConstraints sc = null )127 : base(dataset, allowedInputVariables, targetVariable, transformations ?? Enumerable.Empty<ITransformation>() ) {126 IEnumerable<ITransformation> transformations = null, ShapeConstraints sc = null, IntervalCollection variableRanges = null) 127 : base(dataset, allowedInputVariables, targetVariable, transformations ?? Enumerable.Empty<ITransformation>(), variableRanges) { 128 128 TrainingPartition.Start = trainingPartition.Start; 129 129 TrainingPartition.End = trainingPartition.End;
Note: See TracChangeset
for help on using the changeset viewer.