
Bayesian Hierarchical Active Learning (Pilar 7 x Pilar 5)
Source:R/bridges_active_learning_v3.R
al_query_bhs.RdRanks candidate sites by their predictive variance averaged over the BHS posterior MCMC draws – Thompson-sampling-style AL in the language of Settles (2009, Section 3.3).
Arguments
- bhs_fit
An
edaphos_bhsfrombhs_fit().- pool_data
Data frame of candidate sites with covariates + coords.
- n_select
Integer; number of candidates to return.
- n_draws
Integer; number of posterior draws to average.