scikit-hep / pyhf

pure-Python HistFactory implementation with tensors and autodiff
https://pyhf.readthedocs.io/
Apache License 2.0
281 stars 83 forks source link

Collect supported kwargs for fits in one central place #1786

Open alexander-held opened 2 years ago

alexander-held commented 2 years ago

Summary

When looking for supported kwargs for something like pyhf.infer.mle.fit in conjunction with Minuit, I believe that I need to check in three places:

I believe it could be helpful to have a central place capturing all the possible configuration settings (and default values) for a given setup. I do not really have any idea of how that could be accomplished automatically unfortunately.

The documentation already specifies that kwargs are passed to the optimizer API from infer:

kwargs – Keyword arguments passed through to the optimizer API

and perhaps links here could help users quickly find where to look next.

Documentation Page Link

n/a, see text

Code of Conduct

alexander-held commented 2 years ago

related: https://github.com/scikit-hep/pyhf/discussions/1832 (hypotest behaves differently)