|
PineForge HPO 0.1.0
Native hyperparameter optimization for PineForge strategies
|
Named dimension backed by an ordered, non-empty set of scalar choices. More...
#include <pineforge/hpo/search_space.hpp>
Public Member Functions | |
| CategoricalDimension (std::string name, std::vector< ParameterValue > choices) | |
| Constructs a categorical dimension. | |
| const std::string & | name () const noexcept |
| Returns the unique dimension name. | |
| const std::vector< ParameterValue > & | choices () const noexcept |
| Returns choices in their declared finite-grid order. | |
| bool | contains (const ParameterValue &value) const noexcept |
| Tests exact type-and-value membership in the declared choices. | |
Named dimension backed by an ordered, non-empty set of scalar choices.
Definition at line 114 of file search_space.hpp.
| pineforge::hpo::CategoricalDimension::CategoricalDimension | ( | std::string | name, |
| std::vector< ParameterValue > | choices | ||
| ) |
Constructs a categorical dimension.
| std::invalid_argument | for an empty name, no choices, duplicate choices, non-finite real choices, or choices that serialize to the same strategy-ABI text. |
|
inlinenoexcept |
Returns choices in their declared finite-grid order.
Definition at line 125 of file search_space.hpp.
|
noexcept |
Tests exact type-and-value membership in the declared choices.
|
inlinenoexcept |
Returns the unique dimension name.
Definition at line 123 of file search_space.hpp.