Changeset 16335
- Timestamp:
- 11/30/18 14:12:11 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2929_PrioritizedGrammarEnumeration/HeuristicLab.Algorithms.DataAnalysis.PGE/3.3/PGE.cs
r16316 r16335 290 290 Results.Add(new Result("Lengths", lengthsTable)); 291 291 292 292 293 var bestSolutionResult = new Result("Best solution", typeof(IRegressionSolution)); 293 294 Results.Add(bestSolutionResult); … … 356 357 ProblemTypeString: cProblemTypeString, numProcs: numProc); 357 358 359 var bestTestScore = int.MaxValue; 358 360 for (int iter = 1; iter <= MaxIterations; iter++) { 359 361 iterationsResult.Value = iter; … … 378 380 log.LogMessage("Push/Pop (" + iResult + ", " + bestlen1 + ", " + bestlen2 + ", " + testScore + ", noBestPush: " + (nobestpush > 0) + ", bestNewMin: " + (bestNewMinError > 0) + ") " + eqnStr + " coeff: " + string.Join(" ", coeff)); 379 381 380 if ( bestNewMinError > 0) {382 if (testScore < bestTestScore) { 381 383 // update best quality 384 bestTestScore = testScore; 382 385 bestTestScoreResult.Value = testScore; 383 386 var sol = CreateSolution(problemData, eqnStr, coeff, problemData.AllowedInputVariables.ToArray());
Note: See TracChangeset
for help on using the changeset viewer.