30 virtual void setupGPData(
const std::vector<Real> & data_out,
virtual void setupGPData(const std::vector< Real > &data_out, const DenseMatrix< Real > &data_in) override
Sets up the training data for the GP model.
A generic reporter to support parallel active learning: re-trains GP and picks the next best batch...
std::vector< Real > _log_likelihood
Storage for the computed log-likelihood values in each iteration of active learning.
virtual void evaluateGPTest() override
Evaluate the GP on all the test samples sent by the Sampler.
BayesianActiveLearner(const InputParameters ¶meters)
virtual Real computeConvergenceValue() override
Computes the convergence value during active learning.
const InputParameters & parameters() const
std::vector< const LikelihoodFunctionBase * > _likelihoods
Storage for the likelihood objects to be utilized.
void computeLogLikelihood(const std::vector< Real > &data_out)
Sets up the training data for the GP model for Bayesian UQ tasks.
static InputParameters validParams()
const Distribution * _var_prior
Storage for the prior over the variance.
Real & _noise
Model noise term to pass to Likelihoods object.
A reporter to support parallel active learning for Bayesian UQ tasks.
const std::vector< Real > & _new_var_samples
Storage for new proposed variance samples.
unsigned int _n_dim_plus_var
The input dimension for GP for Bayesian problems with var, equal to Sampler columns + 1...
dof_id_type _num_confg_params
Storage for the number of experimental configuration parameters.
virtual void includeAdditionalInputs() override
Include additional inputs before evaluating the acquisition function.
dof_id_type _num_confg_values
Storage for the number of experimental configuration values.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const std::vector< Real > & _var_test
Storage for all the proposed variance samples to test the GP model.