struct gpr::bo::ParameterSearchConfig

Overview

#include <gpr/bo/ParameterSearch.h>
 
struct ParameterSearchConfig {
    // fields
 
    int initial_evaluations = 0;
    int acquisition_evaluations = 20;
    int candidate_count = 256;
    double length_scale = 0.35;
    double noise_variance = 1e-8;
    double stop_loss = -1.0;
    ParameterAcquisition acquisition                              = ParameterAcquisition::ExpectedImprovement;
    double ucb_kappa = 2.0;
    RadialKind radial = RadialKind::SquaredExponential;
    bool fit_hyperparameters = false;
    int fit_starts = 4;
    double constraint_noise_variance = 1e-4;
    bool noisy_objective = false;
};

Detailed Documentation

Fields

int initial_evaluations = 0

Zero selects 4 * dimension, and at least dimension + 1.

double length_scale = 0.35

Length scale of the default scaled-Euclidean kernel, on every axis. A kernel passed to minimize keeps its own distance.

double stop_loss = -1.0

Stop once the best loss is at or below this value. Negative disables.

ParameterSearch only: radial shape of its kernel. minimize() uses the squared exponential or the kernel it is given.

bool fit_hyperparameters = false

ParameterSearch only: maximize the log marginal likelihood over the length scales, the signal variance and, without per-row noise, the noise variance before each proposal, once there are at least max(2 * dimension + 2, 6) rows. Off: length_scale, a unit signal variance and noise_variance are used as given.

int fit_starts = 4

Starts of that fit.

double constraint_noise_variance = 1e-4

ParameterSearch only: noise variance of the feasibility model, in units of the root mean square of the observed constraint values.

bool noisy_objective = false

ParameterSearch only: the loss is a noisy estimate. The incumbent is then the smallest posterior mean at the evaluated points, not the smallest observed loss, and an evaluated point may be proposed again as a replicate.