Closed lmoneta closed 3 years ago
@lmoneta, could you include the suggested patch and perhaps remove the custom main function? After those changes I think we are good to go.
@vgvassilev I have included your suggested changes, but modify the range of parameters to increas by factor of 2, since it looks to me more significative. I think it is still good to keep the main function to add in case of issues a verbose capability. I don't see the harm of keeping it.
The timing result will show a much better values for Clad after applying https://github.com/root-project/root/pull/7001. This is because the PR reduces significantly the number of iterations when using AD.
@lmoneta, sounds good!
The timing result will show a much better values for Clad after applying root-project/root#7001. This is because the PR reduces significantly the number of iterations when using AD.
Can you paste here the numbers if you have them?
Add new benchmark test for fitting using Gradient. Move out single gaus fit to a new test, FitGrafBenchmark and add a new test fitting an histogram with a polynomial and a variable number of gaussians. The number of gaussians and number of bins can be specified by doing:
Fix also existing test fitting a single gaussian.