- Timestamp:
- 06/18/20 11:35:45 (4 years ago)
- Location:
- branches/3073_IA_constraint_splitting
- Files:
-
- 7 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3073_IA_constraint_splitting/HeuristicLab.Problems.DataAnalysis.Views/3.4/HeuristicLab.Problems.DataAnalysis.Views-3.4.csproj
r17591 r17607 315 315 <DependentUpon>IntervalCollectionView.cs</DependentUpon> 316 316 </Compile> 317 <Compile Include="IntervalConstraintView.cs"> 318 <SubType>UserControl</SubType> 319 </Compile> 320 <Compile Include="IntervalConstraintView.Designer.cs"> 321 <DependentUpon>IntervalConstraintView.cs</DependentUpon> 322 </Compile> 317 323 <Compile Include="MenuItems\ChangeDataOfOptimizersMenuItem.cs" /> 318 324 <Compile Include="MenuItems\ShrinkDataAnalysisRunsMenuItem.cs" /> … … 324 330 </Compile> 325 331 <Compile Include="Plugin.cs" /> 332 <Compile Include="ProblemDataConstraintView.cs"> 333 <SubType>UserControl</SubType> 334 </Compile> 335 <Compile Include="ProblemDataConstraintView.Designer.cs"> 336 <DependentUpon>ProblemDataConstraintView.cs</DependentUpon> 337 </Compile> 326 338 <Compile Include="ProblemDataView.cs"> 327 339 <SubType>UserControl</SubType> -
branches/3073_IA_constraint_splitting/HeuristicLab.Problems.DataAnalysis/3.4/HeuristicLab.Problems.DataAnalysis-3.4.csproj
r17591 r17607 190 190 <Compile Include="Implementation\Interval\Interval.cs" /> 191 191 <Compile Include="Implementation\Interval\IntervalCollection.cs" /> 192 <Compile Include="Implementation\Interval\IntervalConstraint.cs" /> 193 <Compile Include="Implementation\Interval\IntervalConstraintsParser.cs" /> 192 194 <Compile Include="Implementation\Regression\ConfidenceBoundRegressionSolution.cs" /> 193 195 <Compile Include="Implementation\Regression\ConstantRegressionModel.cs" /> … … 303 305 <Compile Include="Interfaces\IDataAnalysisModel.cs" /> 304 306 <Compile Include="Interfaces\IDataAnalysisProblem.cs" /> 307 <Compile Include="ProblemDataConstraint.cs" /> 305 308 <Compile Include="Properties\AssemblyInfo.cs" /> 306 309 </ItemGroup> -
branches/3073_IA_constraint_splitting/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionProblemData.cs
r17579 r17607 94 94 problemData.Parameters.Add(new ConstrainedValueParameter<StringValue>(TargetVariableParameterName, new ItemSet<StringValue>())); 95 95 problemData.Parameters.Add(new FixedValueParameter<IntervalCollection>(VariableRangesParameterName, "", new IntervalCollection())); 96 problemData.Parameters.Add(new FixedValueParameter<ProblemDataConstraint>(IntervalConstraintsParameterName, "", new ProblemDataConstraint(problemData))); 96 97 emptyProblemData = problemData; 97 98 } … … 107 108 get => VariableRangesParameter.Value; 108 109 } 110 111 public IFixedValueParameter<ProblemDataConstraint> IntervalConstraintsParameter => 112 (IFixedValueParameter<ProblemDataConstraint>) Parameters[IntervalConstraintsParameterName]; 113 114 public ProblemDataConstraint IntervalConstraints => IntervalConstraintsParameter.Value; 109 115 110 116 … … 140 146 Parameters.Add(new FixedValueParameter<IntervalCollection>(VariableRangesParameterName, intervalCollection)); 141 147 } 148 149 if (!Parameters.ContainsKey(IntervalConstraintsParameterName)) { 150 Parameters.Add(new FixedValueParameter<ProblemDataConstraint>(IntervalConstraintsParameterName, new ProblemDataConstraint(this))); 151 } 142 152 RegisterParameterEvents(); 143 153 } … … 169 179 var intervalCollection = CalculateDatasetIntervals(this.Dataset); 170 180 Parameters.Add(new FixedValueParameter<IntervalCollection>(VariableRangesParameterName, intervalCollection)); 181 Parameters.Add(new FixedValueParameter<ProblemDataConstraint>(IntervalConstraintsParameterName, new ProblemDataConstraint(this))); 171 182 RegisterParameterEvents(); 172 183 } -
branches/3073_IA_constraint_splitting/HeuristicLab.Problems.DataAnalysis/3.4/Interfaces/Regression/IRegressionProblemData.cs
r17579 r17607 1 1 #region License Information 2 2 3 /* HeuristicLab 3 4 * Copyright (C) Heuristic and Evolutionary Algorithms Laboratory (HEAL) … … 18 19 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>. 19 20 */ 21 20 22 #endregion 21 23 … … 28 30 string TargetVariable { get; set; } 29 31 30 IntervalCollection VariableRanges { get;} 32 IntervalCollection VariableRanges { get; } 33 ProblemDataConstraint IntervalConstraints { get; } 31 34 32 IEnumerable<double> TargetVariableValues { get; }35 IEnumerable<double> TargetVariableValues { get; } 33 36 IEnumerable<double> TargetVariableTrainingValues { get; } 34 IEnumerable<double> TargetVariableTestValues { get; }37 IEnumerable<double> TargetVariableTestValues { get; } 35 38 } 36 39 }
Note: See TracChangeset
for help on using the changeset viewer.