47 return this->
_json[
"luu"].template get<std::vector<std::vector<Real>>>();
56 return this->
_json[
"xu"].template get<std::vector<std::vector<Real>>>();
65 return DenseVector<Real>(this->
_json[
"vind"].template get<std::vector<Real>>());
74 return this->
_json[
"m_mean"].template get<std::vector<Real>>();
83 return this->
_json[
"m_scale"].template get<std::vector<Real>>();
92 return this->
_json[
"ell"].template get<Real>();
101 return this->
_json[
"eta"].template get<Real>();
nlohmann::json _json
JSON object constructed from the datafile.
virtual void initialSetup() override
Moose::GenericType< Real, is_ad > GenericReal
static InputParameters validParams()
virtual void computePartitionWeights(std::vector< GenericReal< is_ad >> &weights, std::vector< GenericReal< is_ad >> &dweights_dstress) override
Compute the weight of the different partitions.
DenseVector< Real > _partition_Vind
std::vector< Real > _partition_Mscale
std::vector< GenericReal< is_ad > > _partition_distance
std::vector< std::vector< Real > > _partition_Luu
virtual GenericReal< is_ad > computeSecondPartitionWeight()
Compute the partition weight on the location in input-space, based on a calibrated Gaussian Process R...
virtual void computeDSecondPartitionWeightDStress(GenericReal< is_ad > &dsecond_partition_weight_dstress)
Compute the derivative of the partition weight of the second partition w.r.t.
DenseMatrix< GenericReal< is_ad > > _partition_A
std::vector< std::vector< Real > > _partition_Xu
void checkJSONKey(const std::string &key)
check if a JSON file was loaded and if the specified key exists
virtual std::vector< std::vector< Real > > getClassificationXu()
Method and container for the Gaussian Process Regression model training points.
LAROMANCEPartitionStressUpdateBaseTempl(const InputParameters ¶meters)
const Real _finite_difference_width
Width to determine the finite difference derivative for the partition weight.
virtual void exportJSON() override
std::vector< GenericReal< is_ad > > _partition_covariance
virtual Real getClassificationEll()
Method and container for the calibrated Gaussian Regression Model hyperparameter "Ell", which controls the decay of the covariance as a function of distance.
std::vector< std::vector< GenericReal< is_ad > > > _partition_difference
Containers for parition math.
virtual DenseVector< Real > getClassificationVind()
Method and container for the inducing points of the Gaussian Process Regression model.
virtual Real getClassificationEta()
Method and container for the calibrated Gaussian Regression Model hyperparameter "Eta", which is a scale factor that controls the amplitude of the mean.
std::vector< Real > _partition_Mmean
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual std::vector< Real > getClassificationMscale()
Method and container for the scale factor of the training input points to normalize all input paramet...
virtual std::vector< Real > getClassificationMmean()
Method and container for the mean values of the training input.
LAROMANCEPartitionStressUpdateBaseTempl< true > ADLAROMANCEPartitionStressUpdateBase
virtual std::vector< std::vector< Real > > getClassificationLuu()
Method and container for the Gaussian Process Regression lower triangular covariance matrix...
const InputParameters & parameters() const
DenseVector< GenericReal< is_ad > > _partition_b
LAROMANCEPartitionStressUpdateBaseTempl< false > LAROMANCEPartitionStressUpdateBase