struct gpr::bo::ParameterBound

Overview

One axis of the search box. More…

#include <gpr/bo/ParameterSearch.h>
 
struct ParameterBound {
    // fields
 
    double lower = 0.0;
    double upper = 1.0;
    bool logarithmic = false;
    bool integer = false;
    std::vector<double> allowed_values = {};
    bool categorical = false;
};

Detailed Documentation

One axis of the search box.

The first three members describe a continuous axis. integer restricts it to the whole numbers in [ceil(lower), floor(upper)]. A non-empty allowed_values replaces the interval by exactly those values, such as the divisors of a core count, in the order given; the surrogate then sees the position in the list, so neighbours in the list are similar. categorical marks the allowed values as unordered labels: the default kernel compares them only for equality.