Changeset 10592
- Timestamp:
- 03/12/14 21:03:01 (11 years ago)
- Location:
- stable
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 10576,10578
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.DataAnalysis.Symbolic
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic merged: 10576
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification merged: 10576
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/SingleObjective/SymbolicClassificationSingleObjectiveOverfittingAnalyzer.cs
r9456 r10592 83 83 IExecutionContext childContext = (IExecutionContext)ExecutionContext.CreateChildOperation(evaluator); 84 84 double[] validationQuality = SymbolicExpressionTree 85 .AsParallel()86 85 .Select(t => evaluator.Evaluate(childContext, t, problemData, rows)) 87 86 .ToArray(); -
stable/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression merged: 10576
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SingleObjective/SymbolicRegressionSingleObjectiveOverfittingAnalyzer.cs
r9456 r10592 84 84 IExecutionContext childContext = (IExecutionContext)ExecutionContext.CreateChildOperation(evaluator); 85 85 double[] validationQuality = SymbolicExpressionTree 86 .AsParallel()87 86 .Select(t => evaluator.Evaluate(childContext, t, problemData, rows)) 88 87 .ToArray(); -
stable/HeuristicLab.Problems.DataAnalysis.Symbolic.TimeSeriesPrognosis/3.4/SingleObjective/SymbolicTimeSeriesPrognosisSingleObjectiveOverfittingAnalyzer.cs
r9462 r10592 84 84 IExecutionContext childContext = (IExecutionContext)ExecutionContext.CreateChildOperation(evaluator); 85 85 double[] validationQuality = SymbolicExpressionTree 86 .AsParallel()87 86 .Select(t => evaluator.Evaluate(childContext, t, problemData, rows)) 88 87 .ToArray(); -
stable/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Analyzers/SymbolicDataAnalysisAlleleFrequencyAnalyzer.cs
r9456 r10592 75 75 public static Allele[] CalculateAlleles(ISymbolicExpressionTree solution, int alleleTreedepth) { 76 76 return GetAllSubtreesOfDepth(solution, alleleTreedepth) 77 .AsParallel()78 77 .Select(t => GetAlleleFromSubtreeOfDepth(t, alleleTreedepth)) 79 78 .ToArray(); -
stable/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Analyzers/SymbolicDataAnalysisMultiObjectiveValidationBestSolutionAnalyzer.cs
r9456 r10592 121 121 122 122 var qualities = tree 123 .AsParallel()124 123 .Select(t => evaluator.Evaluate(childContext, t, problemData, rows)) 125 124 .ToArray(); -
stable/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Analyzers/SymbolicDataAnalysisSingleObjectiveValidationBestSolutionAnalyzer.cs
r9456 r10592 121 121 var quality = tree 122 122 .Take(topN) 123 .AsParallel()124 123 .Select(t => evaluator.Evaluate(childContext, t, problemData, rows)) 125 124 .ToArray(); -
stable/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Analyzers/SymbolicDataAnalysisSingleObjectiveValidationParetoBestSolutionAnalyzer.cs
r9456 r10592 120 120 .Select(i => tree[i]) 121 121 .Take(topN) 122 .AsParallel()123 122 .Select(t => evaluator.Evaluate(childContext, t, problemData, rows)) 124 123 .ToArray(); -
stable/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Analyzers/SymbolicDataAnalysisVariableFrequencyAnalyzer.cs
r9456 r10592 131 131 132 132 var variableFrequencies = trees 133 .AsParallel()134 133 .SelectMany(t => GetVariableReferences(t, aggregateLaggedVariables)) 135 134 .GroupBy(pair => pair.Key, pair => pair.Value) -
stable/HeuristicLab.Tests
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Tests merged: 10578
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Tests/HeuristicLab-3.3/SamplesTest.cs
r9979 r10592 265 265 Assert.AreEqual(0, GetDoubleResult(ga, "CurrentWorstQuality"), 1E-8); 266 266 Assert.AreEqual(50950, GetIntResult(ga, "EvaluatedSolutions")); 267 var bestTrainingSolution = (IRegressionSolution)ga.Results["Best training solution"].Value; 268 Assert.AreEqual(0.85504801557844745, bestTrainingSolution.TrainingRSquared, 1E-8); 269 Assert.AreEqual(0.86259381948647817, bestTrainingSolution.TestRSquared, 1E-8); 270 var bestValidationSolution = (IRegressionSolution)ga.Results["Best validation solution"].Value; 271 Assert.AreEqual(0.84854338315539746, bestValidationSolution.TrainingRSquared, 1E-8); 272 Assert.AreEqual(0.8662813452656678, bestValidationSolution.TestRSquared, 1E-8); 267 273 } 268 274 … … 377 383 Assert.AreEqual(0.80875, bestTrainingSolution.TrainingAccuracy, 1E-8); 378 384 Assert.AreEqual(0.795031055900621, bestTrainingSolution.TestAccuracy, 1E-8); 385 var bestValidationSolution = (IClassificationSolution)ga.Results["Best validation solution"].Value; 386 Assert.AreEqual(0.81375, bestValidationSolution.TrainingAccuracy, 1E-8); 387 Assert.AreEqual(0.788819875776398, bestValidationSolution.TestAccuracy, 1E-8); 379 388 } 380 389
Note: See TracChangeset
for help on using the changeset viewer.