Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
IProfileableLikelihood.h
Go to the documentation of this file.
1#ifndef IPROFILEABLE_LIKELIHOOD_H
2#define IPROFILEABLE_LIKELIHOOD_H
3
4#include "ILikelihood.h"
5
30public:
36 virtual std::size_t p_dimension() const = 0;
37
43 virtual std::size_t eta_dimension() const = 0;
44
50 virtual std::vector<double> central_p() const = 0;
51
57 virtual std::vector<double> central_eta() const = 0;
58
66 virtual std::vector<double> predict(
67 const std::vector<double>& p,
68 const std::vector<double>& eta
69 ) const = 0;
70
81 virtual std::vector<double> residuals(
82 const std::vector<double>& p,
83 const std::vector<double>& eta
84 ) const = 0;
85
93 virtual double nll_from_split(
94 const std::vector<double>& p,
95 const std::vector<double>& eta
96 ) const = 0;
97
105 const std::vector<double>& residuals
106 ) const = 0;
107
115 const std::vector<double>& eta
116 ) const = 0;
117};
118
119#endif
Abstract interface for likelihood functions used by the fitting layer.
Base interface for negative log-likelihood evaluators.
Definition ILikelihood.h:27
Extension of ILikelihood with explicit parameter-block access.
virtual std::vector< double > predict(const std::vector< double > &p, const std::vector< double > &eta) const =0
Evaluates the model prediction for split parameters.
virtual RealMatrix nuisance_curvature(const std::vector< double > &eta) const =0
Computes the nuisance-term curvature matrix.
virtual std::vector< double > central_eta() const =0
Returns the central values of the nuisance parameters.
virtual double nll_from_split(const std::vector< double > &p, const std::vector< double > &eta) const =0
Evaluates the negative log-likelihood from split parameters.
virtual std::size_t eta_dimension() const =0
Returns the dimension of the nuisance-parameter block.
virtual std::vector< double > residuals(const std::vector< double > &p, const std::vector< double > &eta) const =0
Computes observable residuals for split parameters.
virtual std::size_t p_dimension() const =0
Returns the dimension of the fitted-parameter block.
virtual std::vector< double > central_p() const =0
Returns the central values of the fitted parameters.
virtual RealMatrix observable_curvature(const std::vector< double > &residuals) const =0
Computes the observable-term curvature matrix.