PineForge HPO 0.1.0
Native hyperparameter optimization for PineForge strategies
Loading...
Searching...
No Matches
pineforge::hpo::TpeSamplerConfig Struct Reference

Tuning parameters for the native product-density TPE implementation. More...

#include <pineforge/hpo/sampler.hpp>

Public Attributes

std::uint64_t startup_trials = 10
 Number of completed trials required before fitting Parzen estimators.
 
std::uint64_t ei_candidates = 24
 Number of draws from l(x) considered for each fitted-model ask.
 
double gamma_fraction = 0.10
 Fraction of completed observations assigned to the good estimator.
 
std::uint64_t gamma_cap = 25
 Upper bound on observations assigned to the good estimator.
 
double prior_weight = 1.0
 Positive smoothing mass for the numeric prior and categorical pseudocounts.
 
bool constant_liar = true
 Whether outstanding candidates are included only in the bad estimator.
 

Detailed Description

Tuning parameters for the native product-density TPE implementation.

Definition at line 93 of file sampler.hpp.

Member Data Documentation

◆ constant_liar

bool pineforge::hpo::TpeSamplerConfig::constant_liar = true

Whether outstanding candidates are included only in the bad estimator.

No objective value is fabricated and pending candidates are not counted as completed. This scale-independent constant-liar policy discourages concurrent asks from proposing the same region.

Definition at line 119 of file sampler.hpp.

◆ ei_candidates

std::uint64_t pineforge::hpo::TpeSamplerConfig::ei_candidates = 24

Number of draws from l(x) considered for each fitted-model ask.

The candidate with the largest independent-density log ratio log(l(x)) - log(g(x)) is selected.

Definition at line 101 of file sampler.hpp.

◆ gamma_cap

std::uint64_t pineforge::hpo::TpeSamplerConfig::gamma_cap = 25

Upper bound on observations assigned to the good estimator.

The good set size is ceil(gamma_fraction * completed), capped here and leaving at least one observation for g(x) whenever possible.

Definition at line 109 of file sampler.hpp.

◆ gamma_fraction

double pineforge::hpo::TpeSamplerConfig::gamma_fraction = 0.10

Fraction of completed observations assigned to the good estimator.

Definition at line 104 of file sampler.hpp.

◆ prior_weight

double pineforge::hpo::TpeSamplerConfig::prior_weight = 1.0

Positive smoothing mass for the numeric prior and categorical pseudocounts.

Definition at line 112 of file sampler.hpp.

◆ startup_trials

std::uint64_t pineforge::hpo::TpeSamplerConfig::startup_trials = 10

Number of completed trials required before fitting Parzen estimators.

Definition at line 95 of file sampler.hpp.


The documentation for this struct was generated from the following file: