#include <gpr/ml/MapObjective.h>
Public Attributes | |
| double | signal_variance = 1.0 |
| double | barrier_strength = 0.0 |
| Already capped with min(current_barrier_strength, 0.5) by the caller. | |
| bool | use_magn_ceiling = false |
| double | max_log_magnSigma2 = 0.0 |
| bool | use_tail_lower_barrier = false |
| double | tail_lower_barrier = -std::numeric_limits<double>::infinity() |
| gpr::MapPriorWeightMode | weight_mode = gpr::MapPriorWeightMode::Annealed |
| bool | use_configured_magn_prior = false |
| bool | use_lognormal_magn_prior = false |
| gpr::PriorBase | magn_prior |
| bool | use_configured_lengthscale_prior = false |
| gpr::PriorBase | lengthscale_prior |
| Eigen::VectorXd | lengthscale_rho0 |
| Eigen::Index | lengthscale_count = -1 |
| Eigen::VectorXd | prior_weight |
| std::vector< bool > | active_parameters |
| Eigen::VectorXd | parameter_lower |
| Eigen::VectorXd | parameter_upper |
Inputs for the MAP prior and barrier penalty applied to the base NLML. A GP fit holds this configuration fixed across solver changes.
Definition at line 27 of file MapObjective.h.
| std::vector<bool> funcmin::MapObjectiveConfig::active_parameters |
Definition at line 69 of file MapObjective.h.
| double funcmin::MapObjectiveConfig::barrier_strength = 0.0 |
Already capped with min(current_barrier_strength, 0.5) by the caller.
Definition at line 30 of file MapObjective.h.
| Eigen::Index funcmin::MapObjectiveConfig::lengthscale_count = -1 |
Length-scale coordinates after the magnitude. Negative means every coordinate after the magnitude is a length scale. A learned log(sigma2) appended past this count is not a length scale.
Definition at line 64 of file MapObjective.h.
| gpr::PriorBase funcmin::MapObjectiveConfig::lengthscale_prior |
Definition at line 47 of file MapObjective.h.
| Eigen::VectorXd funcmin::MapObjectiveConfig::lengthscale_rho0 |
Per-pairtype descriptor spread rho0_k (index k aligns with w(k+1), i.e. lengthscale_rho0(0) anchors w(1), etc.), the data's own natural scale in descriptor units. Anchors the DEFAULT (weakly-informative, not use_configured_lengthscale_prior) Student-t lengthscale prior so it penalizes deviation of the DIMENSIONLESS ratio ell_k/rho0_k from 1, instead of the raw ell_k against an implicit unit-Angstrom scale. Empty (the default) falls back to the pre-anchor behaviour: every entry effectively uses rho0_k = 1, exactly reproducing the historical formula. A given index also falls back individually when its rho0_k entry is missing, non-finite, or non-positive (degenerate descriptor spread for that pairtype only).
Definition at line 60 of file MapObjective.h.
| gpr::PriorBase funcmin::MapObjectiveConfig::magn_prior |
Definition at line 45 of file MapObjective.h.
| double funcmin::MapObjectiveConfig::max_log_magnSigma2 = 0.0 |
Definition at line 32 of file MapObjective.h.
| Eigen::VectorXd funcmin::MapObjectiveConfig::parameter_lower |
Closed parameter domain, independent of the smooth prior penalties. Empty vectors impose no bounds.
Definition at line 72 of file MapObjective.h.
| Eigen::VectorXd funcmin::MapObjectiveConfig::parameter_upper |
Definition at line 73 of file MapObjective.h.
| Eigen::VectorXd funcmin::MapObjectiveConfig::prior_weight |
Weight of each parameter's prior term (empty: every weight one). A group of tied length scales shares one prior, weighted 1/k over its k members so that the penalty gradient stays equal within the group.
Definition at line 68 of file MapObjective.h.
| double funcmin::MapObjectiveConfig::signal_variance = 1.0 |
Definition at line 28 of file MapObjective.h.
| double funcmin::MapObjectiveConfig::tail_lower_barrier = -std::numeric_limits<double>::infinity() |
Definition at line 34 of file MapObjective.h.
| bool funcmin::MapObjectiveConfig::use_configured_lengthscale_prior = false |
Definition at line 46 of file MapObjective.h.
| bool funcmin::MapObjectiveConfig::use_configured_magn_prior = false |
Optional configured prior parameters. When use_* is true and the corresponding scale/df are positive, the shared objective applies the gpr::prior hierarchy; otherwise the weakly-informative defaults apply.
Definition at line 40 of file MapObjective.h.
| bool funcmin::MapObjectiveConfig::use_lognormal_magn_prior = false |
Opt-in log-normal on magnSigma2. Off keeps the half-Cauchy or configured half-Student-t magnitude prior. Takes precedence over use_configured_magn_prior when both are set.
Definition at line 44 of file MapObjective.h.
| bool funcmin::MapObjectiveConfig::use_magn_ceiling = false |
Definition at line 31 of file MapObjective.h.
| bool funcmin::MapObjectiveConfig::use_tail_lower_barrier = false |
Definition at line 33 of file MapObjective.h.
| gpr::MapPriorWeightMode funcmin::MapObjectiveConfig::weight_mode = gpr::MapPriorWeightMode::Annealed |
Definition at line 35 of file MapObjective.h.