- Timestamp:
- 09/12/11 11:20:10 (13 years ago)
- Location:
- trunk/sources/HeuristicLab.Problems.DataAnalysis.Regression/3.3
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Regression/3.3/HeuristicLab.Problems.DataAnalysis.Regression-3.3.csproj
r5253 r6739 121 121 <Compile Include="SupportVectorRegression\SupportVectorRegressionSolution.cs" /> 122 122 <Compile Include="Symbolic\Analyzers\BestSymbolicRegressionSolutionAnalyzer.cs" /> 123 <Compile Include="Symbolic\Analyzers\SymbolicRegressionTournamentPruning.cs"> 124 <SubType>Code</SubType> 125 </Compile> 123 126 <Compile Include="Symbolic\Analyzers\TrainingBestScaledSymbolicRegressionSolutionAnalyzer.cs" /> 124 127 <Compile Include="Symbolic\Analyzers\SymbolicRegressionValidationAnalyzer.cs" /> -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Regression/3.3/Symbolic/Analyzers/SymbolicRegressionTournamentPruning.cs
r6717 r6739 22 22 using System.Collections.Generic; 23 23 using System.Linq; 24 using HeuristicLab.Common; 24 25 using HeuristicLab.Core; 25 26 using HeuristicLab.Data; … … 201 202 } 202 203 204 protected SymbolicRegressionTournamentPruning(SymbolicRegressionTournamentPruning original, Cloner cloner) 205 : base(original, cloner) { 206 } 207 208 public override IDeepCloneable Clone(Cloner cloner) { 209 return new SymbolicRegressionTournamentPruning(this, cloner); 210 } 211 203 212 [StorableHook(HookType.AfterDeserialization)] 204 213 private void AfterDeserialization() { … … 241 250 double lowerEstimationLimit, double upperEstimationLimit, 242 251 double maxPruningRatio, double qualityGainWeight) { 243 244 252 IEnumerable<int> rows = Enumerable.Range(samplesStart, samplesEnd - samplesStart) 253 .Where(i => i < problemData.TestSamplesStart.Value || problemData.TestSamplesEnd.Value <= i); 245 254 int originalSize = tree.Size; 246 255 double originalQuality = evaluator.Evaluate(interpreter, tree,
Note: See TracChangeset
for help on using the changeset viewer.