Changeset 6232
- Timestamp:
- 05/18/11 11:08:26 (14 years ago)
- Location:
- branches/PersistenceSpeedUp
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PersistenceSpeedUp
- Property svn:mergeinfo changed
/trunk/sources (added) merged: 6207-6209,6223
- Property svn:mergeinfo changed
-
branches/PersistenceSpeedUp/HeuristicLab.Analysis
- Property svn:mergeinfo changed (with no actual effect on merging)
-
branches/PersistenceSpeedUp/HeuristicLab.Encodings.PermutationEncoding
- Property svn:mergeinfo changed (with no actual effect on merging)
-
branches/PersistenceSpeedUp/HeuristicLab.Optimization/3.3/Problems/SingleObjectiveHeuristicOptimizationProblem.cs
- Property svn:mergeinfo changed (with no actual effect on merging)
-
branches/PersistenceSpeedUp/HeuristicLab.Persistence
- Property svn:mergeinfo changed (with no actual effect on merging)
-
branches/PersistenceSpeedUp/HeuristicLab.Problems.DataAnalysis
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Problems.DataAnalysis (added) merged: 6223
- Property svn:mergeinfo changed
-
branches/PersistenceSpeedUp/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Classification/ClassificationProblemData.cs
r6186 r6232 37 37 private const string ClassNamesParameterName = "ClassNames"; 38 38 private const string ClassificationPenaltiesParameterName = "ClassificationPenalties"; 39 private const int MaximumNumberOfClass = 100;39 private const int MaximumNumberOfClasses = 20; 40 40 private const int InspectedRowsToDetermineTargets = 500; 41 41 … … 266 266 267 267 private static IEnumerable<string> CheckVariablesForPossibleTargetVariables(Dataset dataset) { 268 int maxSamples = Math.Min(InspectedRowsToDetermineTargets, dataset.Rows); 268 269 var validTargetVariables = from v in dataset.VariableNames 269 let DistinctValues = dataset.Rows > InspectedRowsToDetermineTargets ? dataset.GetVariableValues(v, 0, InspectedRowsToDetermineTargets).Distinct().Count() 270 : dataset.GetVariableValues(v).Distinct().Count() 271 where DistinctValues < MaximumNumberOfClass 270 let DistinctValues = dataset.GetVariableValues(v) 271 .Take(maxSamples) 272 .Distinct() 273 .Count() 274 where DistinctValues < MaximumNumberOfClasses 272 275 select v; 273 276 274 277 if (!validTargetVariables.Any()) 275 throw new ArgumentException("Import of classification problem data was not successful l, because no target variable was found." +276 " A target variable must have at most " + MaximumNumberOfClass + " distinct values to be applicable to classification.");278 throw new ArgumentException("Import of classification problem data was not successful, because no target variable was found." + 279 " A target variable must have at most " + MaximumNumberOfClasses + " distinct values to be applicable to classification."); 277 280 return validTargetVariables; 278 281 } -
branches/PersistenceSpeedUp/HeuristicLab.Problems.VehicleRouting
- Property svn:mergeinfo changed (with no actual effect on merging)
-
branches/PersistenceSpeedUp/HeuristicLab.Problems.VehicleRouting.Views
- Property svn:mergeinfo changed (with no actual effect on merging)
-
branches/PersistenceSpeedUp/HeuristicLab/3.3/HeuristicLab-3.3.csproj
r5809 r6232 129 129 <DesignTime>True</DesignTime> 130 130 </Compile> 131 <None Include="app.config" /> 131 <None Include="app.config"> 132 <SubType>Designer</SubType> 133 </None> 132 134 <None Include="CustomPostBuild.cmd" /> 133 135 <None Include="CopyAssemblies.cmd" /> -
branches/PersistenceSpeedUp/HeuristicLab/3.3/Tests/CollectObjectGraphTest.cs
r6205 r6232 88 88 } 89 89 90 /// <summary> 91 /// Tests if performance of multiple executions of a GA stays constant (as discussed in #1424) 92 /// Tests if object collection works after multiple executions of a GA 93 /// (for example the traversal of `ThreadLocal` objects in CollectObjectGraphObjects 94 /// causes a StackOverflow occurs after some executions) 95 /// </summary> 90 96 [TestMethod] 91 97 public void AlgorithmExecutions() { -
branches/PersistenceSpeedUp/HeuristicLab/3.3/Tests/HeuristicLab-3.3.Tests.csproj
r6205 r6232 560 560 <CopyToOutputDirectory>Always</CopyToOutputDirectory> 561 561 </None> 562 <None Include="GA_SymbReg2.hl">563 <CopyToOutputDirectory>Always</CopyToOutputDirectory>564 </None>565 562 </ItemGroup> 566 563 <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
Note: See TracChangeset
for help on using the changeset viewer.