pmrf.fitting
The fitting module, with built-in fitting algorithms and results.
All fitters accept the same base initialization arguments as BaseFitter.
Additionally, fitters are categorized into either FrequentistFitter or BayesianFitter,
and accept additional arguments accordingly.
To run the fits, several fitting routines are provided. The simplest is the fit
method, which runs a single fit with the specified features and measured data. Key-word arguments are
forwarded to the specified fitter’s run routine, which may provide additional run-time
arguments, and also generally forwards arguments to its specific backend (for example, PolyChord or SciPy).
Fitters
|
NumPyro MCMC: Markov Chain Monte Carlo (MCMC) sampling using |
|
NumPyro NS: Nested sampling using |
|
SciPy Minimize: Classical optimization using |
Results
|
NumPyro: Results from |
|
SciPy: Results from |
Bases
|
An abstract base class that provides the foundation for all fitting algorithms in pmrf. |
|
A base class for frequentist (classical) optimization methods. |
|
A base class for Bayesian fitting methods. |
|
Container for the results of a model fitting process. |
|
Results obtained from a Frequentist (classical) fitting process. |
|
Abstract base class for results obtained from a Bayesian fitting process. |
|
Context object holding the state and data required for a fit execution. |
|
Context object for Frequentist fitting, containing the cost function. |
|
Context object for Bayesian fitting, containing likelihood configurations. |