- Timestamp:
- 03/31/11 11:37:45 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SingleObjective/SymbolicRegressionSingleObjectiveOverfittingAnalyzer.cs
r5882 r5907 20 20 #endregion 21 21 22 using System.Collections.Generic; 22 23 using System.Linq; 23 24 using HeuristicLab.Analysis; … … 28 29 using HeuristicLab.Parameters; 29 30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 30 using System.Collections.Generic;31 31 32 32 namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Regression { … … 76 76 public override IOperation Apply() { 77 77 IEnumerable<int> rows = GenerateRowsToEvaluate(); 78 if ( rows.Count() <= 0) return base.Apply();78 if (!rows.Any()) return base.Apply(); 79 79 80 80 double[] trainingQuality = QualityParameter.ActualValue.Select(x => x.Value).ToArray();
Note: See TracChangeset
for help on using the changeset viewer.