Internal API (Unexported)

The following symbols are internal helpers or implementation details. They are documented here for contributors and advanced users. These APIs may change without notice.

PyBayesOpt._toscale!Function
_toscale!(points::Matrix, state::BoTorchQBatchState)
_toscale!(point::Vector, state::BoTorchQBatchState)

Scale point(s) from [0,1]^d to problem bounds.

source
PyBayesOpt._to01!Function
_to01!(points::Matrix, state::BoTorchQBatchState)
_to01!(point::Vector, state::BoTorchQBatchState)

Scale point(s) from problem bounds to [0,1]^d.

source
PyBayesOpt.bounds2pairsFunction
bounds2pairs(bounds::Matrix)

Convert a bounds matrix to pairs suitable for the BayesianOptimization constructor.

source
PyBayesOpt.x00iFunction
x00i(i)

Generate variable name in format "x001", "x002", etc. for variable index i.

source
PyBayesOpt.getFunction
get(d::Dict, i)

Get the i-th variable from dictionary d using the naming convention "x001", "x002", etc.

source