Open HeuristicLab-Trac-Bot opened 5 years ago
r16455: Created branch and added adapted project HL.Problems.DataAnalysis.Symbolic.Regression.
r16456: Added HL.Problems.DataAnalysis.Symbolic to the branch.
r16500: Added intermediate version of new constants optimization for profiling.
r16514: Updated CoOp to handle negative R² values approprietly.
r16522: Fixed bug in constants extraction when adding linear scaling coefficients.
r16525: Add benchmarks solution for testing constant optimization performance.
r16678: removed project references again after merging changes from trunk
r16679: changed .NET framework version of UnitTests project for compatibility with HL trunk (4.6.1)
r16680: necessary changes for compatibility with new persistence
r16689: changed LMConstantsOptimizer to use minlm interface of alglib instead of lsfit interface.
r16690: added code in the unit tests to make behaviour of new and old ConstOpt consistent to allow direct comparison of results (+fixed a small bug in the unit tests)
Currently, one unit test fails because of code in OnlinePearsonRCalculator.
It would work if we would replace it with
public double R { get { double xVar = sxCalculator.PopulationVariance; double yVar = syCalculator.PopulationVariance; var r = covCalculator.Covariance / (Math.Sqrt(xVar) * Math.Sqrt(yVar)); if (double.IsNaN(r)) return 0.0; if (r < -1.0) r = -1.0; else if (r > 1.0) r = 1.0; return r; } }
r16691: improved code for benchmarking (previous code failed to account for update of trees after call of Optimize as well as early stopping in Optimize for trees with invalid outputs)
Benchmark results on my notebook (10 trees, maxSize: 50, Tower)
[[Image(benchmark_16691.png)]]
benchmark_16691.png
(27.8 KiB)
Issue migrated from trac ticket # 2974
milestone: HeuristicLab 3.3.17 | component: Problems.DataAnalysis.Symbolic.Regression | priority: medium
2018-12-27 12:32:58: @mkommend created the issue