Changeset 5907 for trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/SingleObjective/SymbolicClassificationSingleObjectiveOverfittingAnalyzer.cs
- Timestamp:
- 03/31/11 11:37:45 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/SingleObjective/SymbolicClassificationSingleObjectiveOverfittingAnalyzer.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.Classification { … … 78 78 // evaluate on validation partition 79 79 IEnumerable<int> rows = GenerateRowsToEvaluate(); 80 if ( rows.Count() <= 0) return base.Apply();80 if (!rows.Any()) return base.Apply(); 81 81 82 82 IExecutionContext childContext = (IExecutionContext)ExecutionContext.CreateChildOperation(EvaluatorParameter.ActualValue);
Note: See TracChangeset
for help on using the changeset viewer.