Ucb
ucb
¶
Upper confidence bound (UCB).
Classes¶
UCB
¶
UCB(
regressor_distribution: BaseRegressorDistribution,
kappa: float = 2.0,
batch_size: int = 1,
mc_size: int = 10000,
)
Bases: ConfidenceBound
, BaseMaximum
The upper confidence bound (UCB).
This acquisition criterion is expressed as
where
Parameters:
-
regressor_distribution
(BaseRegressorDistribution
) –The distribution of the regressor.
-
kappa
(float
, default:2.0
) –A factor associated with the standard deviation to increase the mean value.
-
batch_size
(int
, default:1
) –The number of points to be acquired in parallel; if
1
, acquire points sequentially. -
mc_size
(int
, default:10000
) –The sample size to estimate the acquisition criterion in parallel.
Source code in src/gemseo_mlearning/active_learning/acquisition_criteria/maximum/_confidence_bound.py
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
|
Attributes¶
MAXIMIZE
class-attribute
¶
MAXIMIZE: bool = True
Whether this acquisition criterion must be maximized.
Functions¶
update
¶
update() -> None
Update the acquisition criterion.
Source code in src/gemseo_mlearning/active_learning/acquisition_criteria/maximum/base_maximum.py
31 32 33 34 35 |
|