struct gpr::ScgOptimizationSettings

Overview

SCG-specific settings (trust-region scale, log-magnSigma2 barriers, curvature mode). More…

#include <structures/Structures.h>
 
struct ScgOptimizationSettings {
    // fields
 
    OptimizerCommonSettings common;
    double lambda_limit;
    double lambda;
    bool use_tail_lower_barrier;
    double tail_lower_barrier;
    ScgCurvatureMode curvature_mode;
    GPModelProfile model_profile;
    MapPriorWeightMode map_prior_weight_mode;
    bool map_use_configured_magn_prior;
    bool map_use_lognormal_magn_prior;
    double map_magn_prior_mu;
    double map_magn_prior_s2;
    double map_magn_prior_nu;
    bool map_use_configured_lengthscale_prior;
    double map_lengthscale_prior_mu;
    double map_lengthscale_prior_s2;
    double map_lengthscale_prior_nu;
    bool stationarity_step_stop = false;
    std::vector<bool> active_parameters;
 
    // construction
 
    ScgOptimizationSettings();
 
    // methods
 
    void setDefault();
};

Detailed Documentation

SCG-specific settings (trust-region scale, log-magnSigma2 barriers, curvature mode).

Fields

MapPriorWeightMode map_prior_weight_mode

Annealed (default) or full prior weight; see MapPriorWeightMode.

bool map_use_configured_magn_prior

When true, MAP objective uses configured PriorSqrtt params on magnSigma2 instead of the half-Cauchy default (from setPriorParametersSqrtt).

bool map_use_lognormal_magn_prior

When true, MAP objective uses a log-normal prior on the positive signal variance magnSigma2 (PriorLogNormal; mu and s2 from map_magn_prior_*). Default false. Takes precedence over the half-Cauchy and the configured half-Student-t magnitude priors.

bool map_use_configured_lengthscale_prior

When true, MAP objective uses configured PriorT (nu>0) or PriorGaussian on lengthscales instead of the Student-t default (setPriorParametersGaussian).

bool stationarity_step_stop = false

Empty selects every parameter; false entries remain fixed during fitting. Stop the fit when the step falls below tolerance_sol times one plus the parameter norm, the stationarity scale of the refit-skip test; set by the model when that test is in force.