Changeset 17547
- Timestamp:
- 05/20/20 08:52:25 (5 years ago)
- Location:
- branches/2971_named_intervals
- Files:
-
- 4 deleted
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression-3.4.csproj
r17510 r17547 197 197 <Compile Include="SingleObjective\ConstantOptimizationAnalyzer.cs" /> 198 198 <Compile Include="SingleObjective\Evaluators\SymbolicRegressionMeanRelativeErrorEvaluator.cs" /> 199 <Compile Include="SingleObjective\Evaluators\SymbolicRegressionSingleObjectiveConstraintConstOptEvaluator.cs" />200 <Compile Include="SingleObjective\Evaluators\SymbolicRegressionSingleObjectiveConstraintPearsonRSquaredEvaluator.cs" />201 <Compile Include="SymbolicRegressionConstraintAnalyzer.cs" />202 199 <Compile Include="SingleObjective\SymbolicRegressionSolutionsAnalyzer.cs" /> 203 200 <Compile Include="SymbolicRegressionPhenotypicDiversityAnalyzer.cs" /> -
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SingleObjective/SymbolicRegressionSingleObjectiveProblem.cs
r17206 r17547 91 91 changed = true; 92 92 } 93 if (!Operators.OfType<SymbolicRegressionConstraintAnalyzer>().Any()) {94 Operators.Add(new SymbolicRegressionConstraintAnalyzer());95 changed = true;96 }97 93 if (changed) { 98 94 ParameterizeOperators(); … … 117 113 Operators.Add(new SymbolicRegressionSolutionsAnalyzer()); 118 114 Operators.Add(new SymbolicExpressionTreePhenotypicSimilarityCalculator()); 119 Operators.Add(new SymbolicRegressionConstraintAnalyzer());120 115 Operators.Add(new SymbolicRegressionPhenotypicDiversityAnalyzer(Operators.OfType<SymbolicExpressionTreePhenotypicSimilarityCalculator>()) { DiversityResultName = "Phenotypic Diversity" }); 121 116 ParameterizeOperators(); -
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis.Views/3.4/HeuristicLab.Problems.DataAnalysis.Views-3.4.csproj
r17501 r17547 327 327 <DependentUpon>ModifiableDatasetView.cs</DependentUpon> 328 328 </Compile> 329 <Compile Include="ProblemDataConstraintView.cs">330 <SubType>UserControl</SubType>331 </Compile>332 <Compile Include="ProblemDataConstraintView.designer.cs">333 <DependentUpon>ProblemDataConstraintView.cs</DependentUpon>334 </Compile>335 329 <Compile Include="Plugin.cs" /> 336 330 <Compile Include="ProblemDataView.cs"> … … 575 569 <Compile Include="TimeSeriesPrognosis\TimeSeriesPrognosisSolutionErrorCharacteristicsCurveView.Designer.cs"> 576 570 <DependentUpon>TimeSeriesPrognosisSolutionErrorCharacteristicsCurveView.cs</DependentUpon> 577 </Compile>578 <Compile Include="IntervalConstraintView.cs">579 <SubType>UserControl</SubType>580 </Compile>581 <Compile Include="IntervalConstraintView.Designer.cs">582 <DependentUpon>IntervalConstraintView.cs</DependentUpon>583 571 </Compile> 584 572 <None Include="HeuristicLab.snk" /> -
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/HeuristicLab.Problems.DataAnalysis-3.4.csproj
r17501 r17547 191 191 <Compile Include="Implementation\Interval\Interval.cs" /> 192 192 <Compile Include="Implementation\Interval\IntervalCollection.cs" /> 193 <Compile Include="Implementation\Interval\IntervalConstraint.cs" />194 <Compile Include="Implementation\Interval\IntervalConstraintsParser.cs" />195 193 <Compile Include="Implementation\Regression\ConfidenceBoundRegressionSolution.cs" /> 196 194 <Compile Include="Implementation\Regression\ConstantRegressionModel.cs" /> … … 297 295 <Compile Include="OnlineCalculators\OnlineWeightedDirectionalSymmetryCalculator.cs" /> 298 296 <Compile Include="OnlineCalculators\OnlineWeightedClassificationMeanSquaredErrorCalculator.cs" /> 299 <Compile Include="ProblemDataConstraint.cs" />300 297 <Compile Include="Plugin.cs" /> 301 298 <Compile Include="Implementation\Classification\ThresholdCalculators\AccuracyMaximizationThresholdCalculator.cs" /> -
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Interval/Interval.cs
r17542 r17547 263 263 264 264 return new Interval(Math.Pow(a.LowerBound, 1.0 / higher), Math.Pow(a.UpperBound, 1.0 / lower)); 265 265 266 } 266 267 … … 285 286 if (a.Contains(0.0)) { 286 287 min = 0.0; 287 }288 } 288 289 289 290 return new Interval(min, max); -
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionProblemData.cs
r17506 r17547 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)));97 96 emptyProblemData = problemData; 98 97 } … … 107 106 public IntervalCollection VariableRanges { 108 107 get => VariableRangesParameter.Value; 109 }110 111 112 public IFixedValueParameter<ProblemDataConstraint> IntervalConstraintsParameter => (IFixedValueParameter<ProblemDataConstraint>)Parameters[IntervalConstraintsParameterName];113 114 public ProblemDataConstraint IntervalConstraints {115 get => IntervalConstraintsParameter.Value;116 108 } 117 109 … … 148 140 Parameters.Add(new FixedValueParameter<IntervalCollection>(VariableRangesParameterName, intervalCollection)); 149 141 } 150 if (!Parameters.ContainsKey(IntervalConstraintsParameterName)) {151 Parameters.Add(new FixedValueParameter<ProblemDataConstraint>(IntervalConstraintsParameterName, new ProblemDataConstraint(this)));152 }153 142 RegisterParameterEvents(); 154 143 } … … 180 169 var intervalCollection = CalculateDatasetIntervals(this.Dataset); 181 170 Parameters.Add(new FixedValueParameter<IntervalCollection>(VariableRangesParameterName, intervalCollection)); 182 Parameters.Add(new FixedValueParameter<ProblemDataConstraint>(IntervalConstraintsParameterName, new ProblemDataConstraint(this)));183 171 RegisterParameterEvents(); 184 172 } -
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Interfaces/Regression/IRegressionProblemData.cs
r17210 r17547 29 29 30 30 IntervalCollection VariableRanges { get;} 31 ProblemDataConstraint IntervalConstraints { get; }32 31 33 32 IEnumerable<double> TargetVariableValues { get; }
Note: See TracChangeset
for help on using the changeset viewer.