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