You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 21, 2024. It is now read-only.
I just read through the tutorial and I think maybe one aspect of the probfit API could be improved.
At the moment there are try_uml and try_binlh functions that evaluate the unbinned or binned likelihood function for a grid of values and return the best result as a dict.
Wouldn't it be nicer to have a FitStatistic.grid_search(parameters) method?
(I didn't look if the different fit statistics, a.k.a. cost functions, have a base class, but that's what I mean with FitStatistic here, i.e. UnbinnnedLH and Chi2Regression and ...)
The text was updated successfully, but these errors were encountered:
I was gonna remove them though it's there since this thing is call distfit... Do you think they are useful? If so, yes it should be a method instead of a function.
Related suggestion for improvement: the six functions fit_uml, try_uml, fit_binx2, try_chi2, fit_binlh and try_binlh in oneshot.py are not included in the [probfit docs]((http://iminuit.github.io/probfit/search.html?q=fit_uml)
Either remove them or add them to the docs.
If they are kept, I would suggest to make the fit_* methods simply return minuit instead of (fval, minuit), as fval is simply available as minuit.fval, right?
I just read through the tutorial and I think maybe one aspect of the
probfit
API could be improved.At the moment there are
try_uml
andtry_binlh
functions that evaluate the unbinned or binned likelihood function for a grid of values and return the best result as adict
.Wouldn't it be nicer to have a
FitStatistic.grid_search(parameters)
method?(I didn't look if the different fit statistics, a.k.a. cost functions, have a base class, but that's what I mean with
FitStatistic
here, i.e.UnbinnnedLH
andChi2Regression
and ...)The text was updated successfully, but these errors were encountered: