Inference¶
Fitting a model to data, and sampling its posterior.
Optimizer¶
nyx.infer.optimizer Module¶
Classes¶
Basic fit information. |
|
Fit any pytree of Parameters with a minimiser or least-squares solver. |
Uncertainties¶
nyx.infer.uncertainty Module¶
Functions¶
|
Full covariance and correlation of the free parameters at fitted. |
|
1-sigma errors on every trainable Parameter, from the Gauss-Newton covariance. |
|
Rescale every trainable Parameter using its error estimate. |
Classes¶
How a fit's parameters trade off against one another. |
Profile Likelihood¶
nyx.infer.profile Module¶
Classes¶
A profile-likelihood scan: chi-squared over a grid, nuisances refitted. |
Multi-Target Fits¶
nyx.infer.multitarget Module¶
Classes¶
Joint fit over several targets with shared instruments. |
Convergence¶
nyx.infer.convergence Module¶
Functions¶
|
Step opt over model, recording the loss and the probes. |
Classes¶
The path a fit took, sampled once per recorded solver step. |
Posterior Sampling¶
nyx.infer.numpyro_bridge Module¶
Functions¶
|
A NumPyro model sampling model's unfrozen parameters. |
|
Shape of every unfrozen parameter: the sites |
|
Free parameter values, keyed to |