pyhf.infer.mle.fit¶
-
pyhf.infer.mle.
fit
(data, pdf, init_pars=None, par_bounds=None, **kwargs)[source]¶ Run a unconstrained maximum likelihood fit.
- Parameters
data (tensor) – the data
pdf (Model) – The statistical model adhering to the schema model.json
kwargs – keyword arguments passed through to the optimizer API
- Returns
see optimizer API