Gaussian-process regression, kernels, priors, and the searches that run on the surrogate. More...
Namespaces | |
| namespace | abi |
| namespace | bo |
| namespace | capi |
| namespace | cli |
| namespace | coord |
| namespace | derivatives |
| namespace | extended |
| namespace | field |
| namespace | geometry |
| namespace | htst |
| namespace | io |
| namespace | irc |
| Intrinsic reaction coordinate drivers in mass-weighted coordinates. | |
| namespace | itergp |
| namespace | kokkos_environment |
| namespace | laplace |
| namespace | linalg |
| Dense and structured linear algebra behind the GP: Cholesky and eigen solvers, linear operators, backend selection. | |
| namespace | memory |
| namespace | neb |
| The nudged elastic band: path, GP-NEB driver, configuration and result, acquisition, IDPP start. | |
| namespace | numerics |
| namespace | optim |
| namespace | optim_abi |
| namespace | pairlocal |
| namespace | policy |
| namespace | posterior |
| namespace | potentials |
| Analytical test potentials and potentials built from a fitted GP. | |
| namespace | priors |
| Prior distributions and prior-mean functions for the GP. | |
| namespace | quantum |
| Models for quantum-path (instanton) searches: arc and tail actions, amplitude continuation. | |
| namespace | readcon_abi |
| namespace | readcon_db_abi |
| namespace | rgmin_abi |
| namespace | rgpot_abi |
| namespace | runtime |
| namespace | sfc |
| namespace | ski |
| namespace | startup |
| namespace | track |
| namespace | uasaddle |
| namespace | vecchia |
Classes | |
| struct | AdamOptimizationSettings |
| ADAM-specific settings (learning rate, decay, momentum, AMSGrad). More... | |
| class | AdditivePairKernel |
| class | ARDGridSearch |
| Grid search over ARD lengthscales + noise. More... | |
| struct | ARDSearchResult |
| Result of ARD grid search. More... | |
| struct | AtomicEnvironments |
| class | AtomicInducingPosterior |
| struct | AtomsConfiguration |
| Stores configurations of all atoms in the system. More... | |
| struct | AtomsPositionAndType |
| Structure of atoms positions and types. More... | |
| class | BayesianModelAveraging |
| Bayesian model averaging over hyperparameter grid. More... | |
| struct | BMAPrediction |
| Prediction result from Bayesian model averaging. More... | |
| struct | BorderedNoiseReport |
| struct | BorderedVarianceInterval |
| struct | CanonicalDimerDefaultOptions |
| struct | CeresOptimizationSettings |
| Ceres-specific settings (currently only the common fields). More... | |
| class | ConditionalKernelProjection |
| class | ConditionalPosterior |
| class | ConditionedKernel |
| class | ConstantCF |
| Constant covariance function. More... | |
| class | ConstrainedChartCovariance |
| struct | CutoffPairFeature |
| struct | Derivatives |
| Structure of directional derivatives. More... | |
| struct | DeviceResidency |
| struct | EnergyAndGradient |
| Structure of energy and gradient stored in Eigen-compatible form. More... | |
| struct | EnergySurfaceOutputInfo |
| A structure with information used to write the energy surface to a file. More... | |
| struct | FactoredTrainingGeometry |
| class | FactorizedLikelihood |
| class | FeatomicEnvironmentDescriptor |
| class | GaussianProcessRegression |
| class | GeodesicCovarianceEvidence |
| class | GeodesicHeat |
| class | GeodesicHeatEnergyForceKernel |
| struct | GPRSetup |
| Structure of GPR properties. More... | |
| struct | Indices2D |
| Structure of pair of indices. More... | |
| struct | INLAPrediction |
| struct | InputParameters |
| Structure of the input parameters. All input parameters are pairs of string names and values. More... | |
| class | InverseDistanceDescriptor |
| Inverse distance descriptor for molecular configurations. More... | |
| struct | IterationsLimits |
| Structure of limits for iterational loops. More... | |
| struct | JointObservationVarianceReduction |
| class | KernelOperator |
| struct | KeyValuePair |
| Structure of a string key and template value. More... | |
| class | Kronecker |
| class | LaplaceINLA |
| Laplace / INLA uncertainty quantifier over GP/TP hyperparameters. More... | |
| struct | LazyFactoredTrainingGeometry |
| struct | LBFGSInfo |
| Structure with information for the LBFGS method. More... | |
| class | LikGaussian |
| Gaussian noise with variance. More... | |
| class | LowRankCholesky |
| class | ManifoldEnergyForceKernel |
| class | Matern52 |
| class | ModeRefitPolicy |
| class | MpiLifetime |
| A native entry point finalizes only the MPI world it initializes. More... | |
| class | NoiseGridSearch |
| Exponential grid search over noise hyperparameter. More... | |
| struct | NoiseSearchResult |
| Result of a noise grid search. More... | |
| struct | Observation |
| Observation data: energy, gradient and positions. More... | |
| class | ObservationLikelihood |
| Contract for non-Gaussian observation models used by the INLA inner Laplace step (Rasmussen-Williams Algorithm 3.1). More... | |
| struct | OptimizerCommonSettings |
| Settings shared by every hyperparameter optimizer. More... | |
| struct | Pair |
| A simple pair with identical datatypes. More... | |
| class | PairCutoff |
| struct | PhaseTimers |
| struct | PhaseTotals |
| class | PriorBase |
| Class of prior parameters. More... | |
| class | PriorGaussian |
| Gaussian prior. More... | |
| class | PriorLogNormal |
| Log-normal prior. More... | |
| class | PriorLogUnif |
| Uniform prior for the logarithm of the parameter. More... | |
| class | PriorSqrtt |
| Student-t prior for the square root of the parameter. More... | |
| class | PriorT |
| Student-t prior. More... | |
| class | PriorUnif |
| Uniform prior. More... | |
| class | Project |
| struct | PublicLayoutBytes |
| class | Pullback |
| struct | RadialPairFeature |
| class | RandomFourierFeatures |
| Random Fourier Features for SE kernel approximation. More... | |
| struct | RFFFeatureSelection |
| Measured result of one automatic selection. Unmeasured errors stay NaN. More... | |
| class | RFFFeatureSelectionError |
| class | RFFModel |
| Random Fourier Features (RFF) approximation to the SE kernel. More... | |
| struct | RFFValidationPlan |
| struct | RigidDeflationDiagnostic |
| struct | SaddleCertificate |
| Final-saddle certificate, split from the exploration radius. More... | |
| struct | ScaleFreeTrustConfig |
| Dimensionless knobs. All O(1) and metric-independent by construction. More... | |
| class | ScaleFreeTrustRegion |
| Self-tuning scale-free trust region (state = the current radius). More... | |
| struct | ScgOptimizationSettings |
| SCG-specific settings (trust-region scale, log-magnSigma2 barriers, curvature mode). More... | |
| class | ScopedPhaseTimer |
| class | ScopedPredictTimer |
| class | ScopedVarianceTimer |
| class | Sexpat |
| class | SexpatCF |
| Pair-type inverse-distance squared-exponential primitive. More... | |
| struct | SexpatLocalOracleScope |
| class | SpeciesEnvironmentKernel |
| class | StableBasis1D |
| class | StableBasisND |
| struct | StableBasisPosteriorWeights |
| class | StationaryChartKernel |
| struct | StopCriteriaForDimer |
| Stores stop criteria for dimer method (e.g. LBFGS). More... | |
| struct | StructuredPermutation |
| class | StudentTProcessRegression |
| class | Sum |
| struct | SupportedAtomicEnvironments |
| struct | TrainingKernelGeometry |
| struct | TrainingKernelGeometryBlock |
| struct | TrainingKernelGeometrySubset |
| struct | TransitionParameters |
| Structure of translation parameters. More... | |
| struct | Triplet |
| A simple triplet with identical datatypes. More... | |
| class | TrustRadius |
| Trust radius enforcement for GP surrogate models. More... | |
| class | WallClockLimit |
| class | WallClockLimitReached |
Concepts | |
| concept | DifferentiableRadial |
| Value and both derivatives with respect to one squared distance. | |
Typedefs | |
| using | Index_t = uint32_t |
| using | EigenMatrix |
| using | FieldMatrixd |
| using | FieldMatrixi |
| using | FieldMatrixIdx |
| using | FieldMatrixU8 |
| using | Coord = FieldMatrixd |
| using | vector3_reg = Eigen::Vector3d |
| using | CutoffPairFeatures = std::vector<CutoffPairFeature> |
| using | RefusalAwareHessianAction |
| Hessian action that reports whether an exact child refused. | |
| using | RefusalAwareHessianPreparation |
| Query preparation that reports whether an exact child refused. | |
| using | KernelMatrixBuilder |
| Kernel matrix builder: given lengthscales and noise, return K_XX. | |
Enumerations | |
| enum class | ChartScalarKernel { SquaredExponential , Matern52 } |
| enum class | HyperparameterOptimizationMode { SCG , INLA , MAP_LBFGS , RGMIN_SCG , RGMIN_OPT } |
| enum class | HyperparameterObjectiveMode { NLML , LOO , LOCAL_LOO } |
| enum class | PriorMeanStatistic { Mean , Maximum } |
| Gaussian Process Regression algorithm. More... | |
| enum class | BorderedSchurSign { ClampNegative , PreserveSigned } |
| enum class | MapPriorWeightMode : uint8_t { Annealed = 0 , Full = 1 } |
| enum class | ScgCurvatureMode { EXACT = 0 , FINITE_DIFFERENCE = 1 , NLML_HESSIAN_VECTOR = 2 } |
| Selects how SCG computes the directional curvature term. More... | |
| enum class | UncertaintyMode { MAP = 0 , BMA = 1 , LAPLACE = 2 , EB = 3 , SVGD = 4 , LAPLACE_SLICE = 5 } |
| enum class | GPModelProfile : uint8_t { CHEMGP = 0 , GPRD_ZBL = 1 , EXTENDED = 2 } |
Functions | |
| std::optional< ConvergenceNormType > | parseForceNorm (std::string_view name) |
| std::string_view | forceNormName (std::optional< ConvergenceNormType > norm) |
| template<class Derived> | |
| double | forceNorm (const Eigen::MatrixBase< Derived > &force, ConvergenceNormType norm) |
| template<class Derived> | |
| double | forceDualNorm (const Eigen::MatrixBase< Derived > &direction, ConvergenceNormType norm) |
| std::vector< CutoffPairFeatures > | cutoffPairFeatures (const Coord &positions, const AtomsConfiguration &configuration) |
| Sorted pair features for each configuration; absent pairs are exact zeros. | |
| std::vector< CutoffPairFeatures > | radialPairFeatures (const Coord &positions, const AtomsConfiguration &configuration) |
| std::vector< CutoffPairFeatures > | radialPairFeatures (const Coord &positions, const AtomsConfiguration &configuration, double far_radius) |
| std::vector< FieldMatrixd > | cutoffPairSquaredDistances (const Coord &left, const Coord &right, const AtomsConfiguration &configuration, const FieldMatrixd &lengths) |
| std::vector< FieldMatrixd > | radialPairSquaredDistances (const Coord &left, const Coord &right, const AtomsConfiguration &configuration, const FieldMatrixd &lengths, double far_radius) |
| template<typename Function> | |
| void | forEachCutoffPair (const CutoffPairFeatures &left, const CutoffPairFeatures &right, Function &&function) |
| Visit the union of two sparse feature rows in their common pair vocabulary. | |
| std::string | sha256Hex (const void *data, std::size_t size) |
| Lowercase hexadecimal SHA-256 digest of a byte range (FIPS 180-4). | |
| std::string | sha256File (const std::string &path) |
| Digest of a file's contents; empty when the file cannot be read. | |
| bool | conditionKernelMatrix (const Eigen::MatrixXd &joint, const std::vector< Eigen::MatrixXd > &derivatives, Eigen::Index anchor_rows, Eigen::Index query_rows, Eigen::Index dimensions, const Eigen::VectorXd &anchor_noise, Eigen::MatrixXd &covariance, std::vector< Eigen::MatrixXd > &conditional_derivatives) |
| bool | conditionKernelMatrix (const Eigen::MatrixXd &joint, const std::vector< Eigen::MatrixXd > &derivatives, Eigen::Index anchor_rows, Eigen::Index query_rows, Eigen::Index dimensions, const Eigen::VectorXd &anchor_noise, Eigen::MatrixXd &covariance, std::vector< Eigen::MatrixXd > &conditional_derivatives, const linalg::LocalExecutor &execution) |
| KernelOperator::CrossCovarianceFunction | makeKernelCrossCovariance (std::shared_ptr< const KernelOperator > kernel, const Eigen::MatrixXd &training) |
| KernelOperator::MeanFunction | makeKernelMean (std::shared_ptr< const KernelOperator > kernel, const Eigen::MatrixXd &training, const Eigen::VectorXd &weights) |
| Owning fitted mean, using the kernel's representation or its exact product. | |
| KernelOperator::MeanHessianFunction | makeAnalyticKernelMeanHessianVector (const std::shared_ptr< const KernelOperator > &kernel, const Eigen::MatrixXd &training, const Eigen::VectorXd &weights) |
| KernelOperator::MeanHessianPreparation | makeAnalyticKernelMeanHessian (const std::shared_ptr< const KernelOperator > &kernel, const Eigen::MatrixXd &training, const Eigen::VectorXd &weights) |
| KernelOperator::MeanHessianFunction | makeKernelMeanHessianVector (std::shared_ptr< const KernelOperator > kernel, const Eigen::MatrixXd &training, const Eigen::VectorXd &weights) |
| RefusalAwareHessianPreparation | makeRefusalAwareKernelMeanHessian (std::shared_ptr< const KernelOperator > kernel, const Eigen::MatrixXd &training, const Eigen::VectorXd &weights, bool *all_exact=nullptr, bool *has_exact_or_refusal=nullptr) |
| Prepare a fitted kernel Hessian action that propagates exact-child refusals through composite operators. | |
| KernelOperator::MeanHessianPreparation | makeKernelMeanHessian (std::shared_ptr< const KernelOperator > kernel, const Eigen::MatrixXd &training, const Eigen::VectorXd &weights) |
| KernelOperator::MeanHessianMatrixFunction | makeKernelMeanHessianMatrix (std::shared_ptr< const KernelOperator > kernel, const Eigen::MatrixXd &training, const Eigen::VectorXd &weights) |
| Dense mean Hessian of a kernel from the columns of its refusal-aware action. A failed column is Refused when an exact child refused it and Unavailable when only a generic child missed; the matrix is left empty in both cases. | |
| std::shared_ptr< const KernelOperator > | makeChartScalarKernel (std::shared_ptr< const geometry::CoordinateChart > chart, double magnitude_variance, double length_scale, ChartScalarKernel kernel=kDefaultChartScalarKernel) |
| Squared-exponential Pullback unless kernel is Matern52. | |
| bool | ownsBlock (long block_idx, int rank, int nprocs, bool serial_per_rank) |
| bool | ownsBlockIfReduce (long block_idx, int rank, int nprocs, bool do_reduce) |
| bool | buildFactoredTrainingGeometry (const AtomsConfiguration &conf_info, const FieldMatrixd &x_loc, FactoredTrainingGeometry &out, double far_field_radius=0.0) |
| bool | buildCrossBlockDerivativesFactored (const FactoredTrainingGeometry &factors, Index_t block_n, Index_t block_m, uint8_t derivative_options, SexpatCF::CrossBlockGeometry &out) |
| const SexpatCF::CrossBlockGeometry * | resolveTrainingBlockGeometry (const SexpatCF &covariance, const TrainingKernelGeometry &geom, const TrainingKernelGeometryBlock &block, SexpatCF::CrossBlockGeometry &scratch) |
| double | lengthscaleProjectionFloor (double max_pair_distance, double absolute_floor) |
| Eigen::MatrixXd | hssvdHermiteCartesianAction (const Eigen::MatrixXd &jacobian, const Eigen::MatrixXd &residuals, const Eigen::MatrixXd &force_weights, const Eigen::VectorXd &energy_kernel_weights, const Eigen::VectorXd &force_kernel_weights, const Eigen::VectorXd &force_residual_dots, double energy_kernel_weight_sum, double force_kernel_residual_dot_sum, const Eigen::MatrixXd &directions) |
| bool | arrowheadEigenpairs (const Eigen::Ref< const Eigen::VectorXd > &diagonal, const Eigen::Ref< const Eigen::VectorXd > &spike, double corner, Eigen::VectorXd &evals, Eigen::MatrixXd &evecs) |
| bool | extendSymmetricSpectrum (const Eigen::Ref< const Eigen::MatrixXd > &grown, const Eigen::Ref< const Eigen::VectorXd > &diagonal, const Eigen::Ref< const Eigen::MatrixXd > &basis, Eigen::VectorXd &evals, Eigen::MatrixXd &evecs) |
| bool | priorFreeReplicatedInverse (bool cholmod, bool scalapack, bool slate, bool unregularized, bool use_hssvd_gradient) |
| bool | useDenseFactorForTrace (bool prior_free_inverse, bool use_hssvd_gradient, bool distributed_factor, long long factor_rows, long long factor_cols, long long target_size) |
| RFFValidationPlan | planRFFFeatureValidation (int n_geometries, int cartesian_dimension, std::uint64_t memory_cap_bytes) |
| std::vector< int > | rffFarthestPointOrder (const Eigen::MatrixXd &positions) |
| std::string | formatRFFFeatureSelection (const RFFFeatureSelection &report) |
| bool | looCalibrationIsUnityFromCholeskyDiagonal (const Eigen::VectorXd &alpha, const Eigen::VectorXd &diagonal) |
| double | looVarianceCalibrationFactor (const Eigen::VectorXd &alpha, const Eigen::VectorXd &inv_diag) |
| bool | stabilizePosteriorCovariance (Eigen::MatrixXd &covariance) |
| Project a rounded covariance onto the positive-semidefinite cone while preserving its nonnegative diagonal exactly. | |
| bool | subtractStableBasisProjectedCrossCovariance (const StableBasisND &basis, const Eigen::MatrixXd &Kstar, const Eigen::MatrixXd &Kright, const Eigen::MatrixXd &prior, double total_sigma2, Eigen::MatrixXd &K_post, bool contracted_mean=false, Eigen::Index left_queries=1, Eigen::Index right_queries=1) |
| Eigen::VectorXd | applyStableBasisStatisticalInverse (const StableBasisND &basis, const Eigen::VectorXd &rhs, double noise) |
| bool | subtractStableBasisProjectedCrossCovariance (const StableBasisND &basis, const EigenMatrix &Kstar, const EigenMatrix &Kright, const EigenMatrix &prior, const double total_sigma2, EigenMatrix &K_post, bool contracted_mean, Eigen::Index left_queries, Eigen::Index right_queries) |
| std::optional< JointObservationVarianceReduction > | jointObservationVarianceReduction (Eigen::MatrixXd candidate_covariance, const Eigen::MatrixXd &target_candidate_covariance, const double target_variance, const double noise_variance) |
| std::optional< JointObservationVarianceReduction > | jointObservationVarianceReduction (const Eigen::MatrixXd &posterior_covariance, Eigen::Index query_count, Eigen::Index dimensions, Eigen::Index candidate_query, const std::vector< Eigen::Index > &target_queries, double noise_variance) |
| Integrated variance reduction from one joint energy-force query. | |
| std::optional< JointObservationVarianceReduction > | jointObservationForceVarianceReduction (const Eigen::MatrixXd &posterior_covariance, Eigen::Index query_count, Eigen::Index dimensions, Eigen::Index candidate_query, const std::vector< Eigen::Index > &target_queries, double noise_variance) |
| Integrated force-variance reduction from one joint energy-force query. | |
| Eigen::VectorXd | findFMode (const EigenMatrix &K, const Eigen::VectorXd &y, const ObservationLikelihood &ol, int max_iter=30, double tol=1e-8) |
| Posterior mode f_mode = argmax_f [log p(y|f) + log N(f | 0, K)] via the Rasmussen-Williams safe Newton recursion (Algo 3.1). | |
| double | laplaceMarginalLogLik (const EigenMatrix &K, const Eigen::VectorXd &y, const Eigen::VectorXd &f_mode, const ObservationLikelihood &ol) |
| Laplace approximation to log p(y | theta) given prior K and the converged posterior mode f_mode (R&W eq. 3.32): | |
| StructuredPermutation | buildStructuredPermutation (const Eigen::VectorXd &ind_Ddim) |
| StructuredPermutation | buildObservationTiledPermutation (const Eigen::VectorXd &ind_Ddim) |
| Eigen::VectorXd | permuteVector (const Eigen::VectorXd &input, const StructuredPermutation &p) |
| Eigen::VectorXd | unpermuteVector (const Eigen::VectorXd &input, const StructuredPermutation &p) |
| EigenMatrix | permuteMatrixRows (const EigenMatrix &input, const StructuredPermutation &p) |
| EigenMatrix | unpermuteMatrixRows (const EigenMatrix &input, const StructuredPermutation &p) |
| EigenMatrix | permuteSymmetricMatrix (const EigenMatrix &input, const StructuredPermutation &p) |
| EigenMatrix | unpermuteSymmetricMatrix (const EigenMatrix &input, const StructuredPermutation &p) |
| void | requireWallClock (const std::shared_ptr< const WallClockLimit > &limit) |
| bool | collectiveWallClockLimitReached (const std::shared_ptr< const WallClockLimit > &limit, const linalg::MpiContext &context) |
| bool | collectiveWallClockLimitReached (const std::shared_ptr< const WallClockLimit > &limit) |
| The oracle/search process group, with a local fallback outside MPI. | |
| double | medianPairwiseDistance (const EigenMatrix &R_train) |
| Median of the strict-upper-triangle pairwise Euclidean row distances over a training set. Degree-1 homogeneous: median(s*X) = s*median(X). | |
| SaddleCertificate | certifyFinalSaddle (double true_pes_saddle_force, double conv_tol, const std::vector< double > &per_image_variance, double variance_envelope) |
| Combined force and variance criterion for callers that request it. The variance envelope is an optional exploration condition. A physical saddle additionally requires an independent assessment of its Hessian index; neither this helper nor a trust radius establishes that index. | |
| void | applyCanonicalReadconDimerDefaults (InputParameters ¶meters, const CanonicalDimerDefaultOptions &options={}) |
Apply the canonical readcon dimer defaults to parameters. | |
| CanonicalDimerDefaultOptions | gprdUnflaggedDimerOptions () |
| void | applyGprdDimerDefaults (InputParameters ¶meters, const CanonicalDimerDefaultOptions &options) |
| bool | defaultDimerImage1EachPhase (const bool use_hssvd, const bool) noexcept |
| void | requirePositiveFinitePriorParameter (const char *density, const char *name, double value) |
| void | requireFinitePriorParameter (const char *density, const char *name, double value) |
| PublicLayoutBytes | libraryPublicLayout () |
| PublicLayoutBytes | consumerPublicLayout () |
| constexpr bool | iterationAllowedByLimit (Index_t iteration, Index_t configured_limit) noexcept |
| bool | usesClassicJointEnergyForcePrior (GPModelProfile profile) noexcept |
| bool | launchedOnOneNode () noexcept |
| void | excludeLibfabricBtlOnOneNode () noexcept |
| int | reportFatal (const char *program, const char *what) noexcept |
| template<class Matrices, class Body> | |
| void | assembleCollectively (const MpiContext &context, Matrices &result, const Body &body) |
| void | writeBMAOutput (const Eigen::VectorXd &flat, Index_t N_im, Index_t D, Observation &image1) |
| void | addConstantCovarianceBlock (ConstantCF *const_cov_fun, const Eigen::VectorXd &row_indices, const Eigen::VectorXd &col_indices, EigenMatrix &matrix) |
| void | addConstantCovarianceBlock (ConstantCF *const_cov_fun, const Eigen::VectorXd &row_indices, const Eigen::VectorXd &col_indices, EigenMatrix &matrix) |
| double | applyPrincipledDiagonalNugget (EigenMatrix &K, Eigen::Index n_x, Eigen::Index d, double kappa_max, bool gradient_enhanced=true) |
| double | computePrincipledNugget (Eigen::Index n_x, Eigen::Index d, double kappa_max, bool gradient_enhanced=true) |
| double | principledKappaMaxDefault () |
| Eigen::Vector3d | priorParametersVector (const PriorBase &prior) |
| template<typename EigenObject> | |
| bool | reduce_laplace_factor_vectors_in_grid_order (std::vector< EigenObject > &factor_values, linalg::BackendContext &context) |
| double | localTraceProduct (const EigenMatrix &A, const EigenMatrix &B) |
| Eigen::Vector3d | priorParametersVector (const PriorBase &prior) |
| bool | symmetrizeObservedInformation (Eigen::MatrixXd &H) |
| Eigen::VectorXd | inlaClipToLogBox (const Eigen::VectorXd &theta, const Eigen::VectorXd &lower, const Eigen::VectorXd &upper) |
| void | addConstantCovarianceBlock (ConstantCF *const_cov_fun, const Eigen::VectorXd &row_indices, const Eigen::VectorXd &col_indices, EigenMatrix &matrix) |
| template<typename EigenObject> | |
| bool | reduce_laplace_factor_vectors_in_grid_order (std::vector< EigenObject > &factor_values, linalg::BackendContext &context) |
| void | writePredictionVectorToObservation (const Observation &query, const Eigen::VectorXd &values, Observation &out) |
| void | addConstantCovarianceBlock (ConstantCF *const_cov_fun, const Eigen::VectorXd &row_indices, const Eigen::VectorXd &col_indices, EigenMatrix &matrix) |
| template<typename EigenObject> | |
| bool | reduce_laplace_factor_vectors_in_grid_order (std::vector< EigenObject > &factor_values, linalg::BackendContext &context) |
| bool | symmetrizeObservedInformation (Eigen::MatrixXd &H) |
| void | writeBMAOutput (const Eigen::VectorXd &flat, Index_t N_im, Index_t D, Observation &image1) |
| void | writePredictionVectorToObservation (const Observation &query, const Eigen::VectorXd &values, Observation &out) |
Variables | |
| constexpr auto | EigenDynamic = Eigen::Dynamic |
| constexpr auto | EigenMatrixStorage = Eigen::StorageOptions::ColMajor |
| constexpr auto | FieldMatrixStorage = Eigen::StorageOptions::RowMajor |
| constexpr ChartScalarKernel | kDefaultChartScalarKernel |
| bool | sexpat_local_oracle_active = false |
| double | g_geom_build_seconds = 0.0 |
| double | g_max_cond_k = 0.0 |
| double | g_max_abs_alpha = 0.0 |
| constexpr double | kRFFEnergyNoiseFloor = 1e-6 |
| Energy-channel floor used by the production random-feature model. | |
| constexpr double | kRFFGradientNoiseFloor = 1e-4 |
| Gradient-channel floor used by the production random-feature model. | |
| constexpr double | kRFFForceConvergenceTolerance = 0.0514221 |
| Band force tolerance the random-feature error is not allowed to cross. | |
| constexpr std::uint64_t | kRFFValidationMemoryCapBytes |
| Exact validation Gram, and the D-by-D normal matrix, stay under this. | |
| constexpr int | kRFFFeaturesAuto = -1 |
| Sentinel stored in integer feature-count fields for the automatic rule. | |
Gaussian-process regression, kernels, priors, and the searches that run on the surrogate.
| using gpr::Coord = FieldMatrixd |
| using gpr::CutoffPairFeatures = std::vector<CutoffPairFeature> |
Definition at line 90 of file PairCutoff.h.
| using gpr::EigenMatrix |
| using gpr::FieldMatrixd |
| using gpr::FieldMatrixi |
| using gpr::FieldMatrixIdx |
| using gpr::FieldMatrixU8 |
| using gpr::Index_t = uint32_t |
| using gpr::KernelMatrixBuilder |
Kernel matrix builder: given lengthscales and noise, return K_XX.
Definition at line 58 of file ARDGridSearch.h.
Hessian action that reports whether an exact child refused.
Definition at line 175 of file KernelOperator.h.
Query preparation that reports whether an exact child refused.
Definition at line 178 of file KernelOperator.h.
| using gpr::vector3_reg = Eigen::Vector3d |
|
strong |
ClampNegative treats the inputs as a PSD bordered covariance: a negative lower endpoint becomes 0 when the upper endpoint is nonnegative, and a negative upper endpoint is refused. PreserveSigned reports the signed Schur value, including a negative one.
| Enumerator | |
|---|---|
| ClampNegative | |
| PreserveSigned | |
Definition at line 81 of file StableBasis.h.
|
strong |
Chart scalar kernel. SquaredExponential is the production default. Matern52 is off unless a caller passes it explicitly.
| Enumerator | |
|---|---|
| SquaredExponential | |
| Matern52 | |
Definition at line 17 of file Matern52.h.
|
strong |
Gaussian-process model profiles.
A profile bundles kernel-prior, fitting, and target-frame settings. CHEMGP and GPRD_ZBL use the same classic model path; their distinct values preserve configuration compatibility. Search algorithms and benchmark datasets are configured independently.
CHEMGP: joint energy-force inverse-distance GP with raw targets, NLML/SCG defaults and Sexpat priors including log-space Jacobians. GPRD_ZBL: the same classic settings, named for the dimer reference. Explicit CLI fitting choices take precedence over profile defaults. The ZBL prior mean is independent. Attached composite kernels stay active and use exact covariance factorization. EXTENDED: solver, objective, normalization and prior choices stay under their existing independent controls.
| Enumerator | |
|---|---|
| CHEMGP | |
| GPRD_ZBL | |
| EXTENDED | |
Definition at line 201 of file Structures.h.
|
strong |
|
strong |
|
strong |
Weighting of weakly-informative MAP prior terms vs the barrier anneal. Annealed (default): prior weight = min(barrier_strength, 0.5). Full: prior weight identically 1.0; barrier terms still use annealed strength.
| Enumerator | |
|---|---|
| Annealed | |
| Full | |
Definition at line 100 of file Structures.h.
|
strong |
Gaussian Process Regression algorithm.
Which statistic of the residual training energies is the constant prior mean the posterior reverts to away from the data.
| Enumerator | |
|---|---|
| Mean | |
| Maximum | |
Definition at line 322 of file GaussianProcessRegression.h.
|
strong |
Selects how SCG computes the directional curvature term.
EXACT uses the closed-form analytic curvature derived from the squared exponential covariance + Cholesky factor. FINITE_DIFFERENCE uses a sigma-perturbation probe. NLML_HESSIAN_VECTOR (opt-in) takes the curvature of SCG, of the length-scale tie screen and of the stationarity check from the exact Hessian-vector product of the Gaussian negative log marginal likelihood. Where that product does not exist or fails, each takes the FINITE_DIFFERENCE path, with a log line.
| Enumerator | |
|---|---|
| EXACT | |
| FINITE_DIFFERENCE | |
| NLML_HESSIAN_VECTOR | |
Definition at line 161 of file Structures.h.
|
strong |
Selector for the uncertainty-quantification path consumed by AcquisitionStrategy / AtomicDimer / GPNEB. MAP is the default point-estimate variance from calculateVariance; LAPLACE routes through a Rue et al. 2009 CCD mixture over the hyperparameter posterior; LAPLACE_SLICE replaces the CCD quadrature with Neal 2003 doubling slice sampling on the same NLML target (asymptotically exact instead of quadrature-on-Laplace-ellipsoid; per-fit cost is M ~ 100 Cholesky bursts but per-predict cost is O(M * n^2) with no new Cholesky); BMA uses BayesianModelAveraging's uniform grid (for reference timing only – rarely used in production).
| Enumerator | |
|---|---|
| MAP | |
| BMA | |
| LAPLACE | |
| EB | |
| SVGD | |
| LAPLACE_SLICE | |
Definition at line 177 of file Structures.h.
|
inline |
Definition at line 67 of file Helpers.h.
|
inline |
Definition at line 67 of file Helpers.h.
|
inline |
Definition at line 67 of file Helpers.h.
|
inline |
Definition at line 67 of file Helpers.h.
| void gpr::applyCanonicalReadconDimerDefaults | ( | InputParameters & | parameters, |
| const CanonicalDimerDefaultOptions & | options = {} ) |
Apply the canonical readcon dimer defaults to parameters.
Also installs the published Student-t prior parameters (mu = 0, nu = 20, s2 = 1). initialize() copies this triple onto the Student-t magnitude, Gaussian length-scale, and log-normal priors; data-bearing setHyperparameters() later overwrites Student-t s2 with target_variance and Gaussian s2 with seed_length_scale_^2.
Definition at line 34 of file ParameterDefaults.cpp.
| void gpr::applyGprdDimerDefaults | ( | InputParameters & | parameters, |
| const CanonicalDimerDefaultOptions & | options = gprdUnflaggedDimerOptions() ) |
The parameter block gprd installs before it applies flags: the canonical readcon dimer defaults, then the GP hyperparameter block in main. gpr_dimer_search starts from the same block.
Definition at line 87 of file ParameterDefaults.cpp.
|
inline |
Definition at line 296 of file Helpers.h.
| Eigen::VectorXd gpr::applyStableBasisStatisticalInverse | ( | const StableBasisND & | basis, |
| const Eigen::VectorXd & | rhs, | ||
| double | noise ) |
Definition at line 82 of file Variance.cpp.
|
inlinenodiscard |
Eigenpairs of [diag(diagonal), spike; spike^T, corner], ascending. False when a pole gap is inside the symmetric backward error: the caller then uses the full eigensolver, whose basis is the one the search already runs.
Definition at line 31 of file ArrowheadSpectrum.h.
| void gpr::linalg::assembleCollectively | ( | const MpiContext & | context, |
| Matrices & | result, | ||
| const Body & | body ) |
Assemble disjoint entries, propagate failures within the owning group, and replicate the tensors. The body joins its workers before returning; only the calling thread enters MPI collectives.
Definition at line 19 of file CollectiveAssembly.h.
|
nodiscard |
Rebuild one block's d1/d2/d12 fields from the factors, in the layout and sign convention of SexpatCF::buildCrossBlockDerivativesOnly.
Definition at line 141 of file CovarianceAssembly.cpp.
|
nodiscard |
Definition at line 94 of file CovarianceAssembly.cpp.
|
inline |
Definition at line 184 of file PermutationUtils.h.
|
inline |
Definition at line 155 of file PermutationUtils.h.
| SaddleCertificate gpr::certifyFinalSaddle | ( | double | true_pes_saddle_force, |
| double | conv_tol, | ||
| const std::vector< double > & | per_image_variance, | ||
| double | variance_envelope ) |
Combined force and variance criterion for callers that request it. The variance envelope is an optional exploration condition. A physical saddle additionally requires an independent assessment of its Hessian index; neither this helper nor a trust radius establishes that index.
Definition at line 91 of file ScaleFreeTrustRegion.cpp.
|
inline |
The oracle/search process group, with a local fallback outside MPI.
Definition at line 103 of file PhaseTimers.h.
|
inline |
Agree at a shared phase boundary before entering further collectives. Rank-local oracle callbacks use requireWallClock and agree their outcome through the oracle batch protocol instead.
Definition at line 81 of file PhaseTimers.h.
|
inline |
|
nodiscard |
Project covariance and parameter derivatives using the same Schur complement. Joint rows are channel-major with anchors first in each channel. Anchor noise is fixed with respect to the fitted parameters.
Definition at line 309 of file ConditionedKernel.cpp.
|
nodiscard |
Definition at line 852 of file ConditionedKernel.cpp.
| PublicLayoutBytes gpr::consumerPublicLayout | ( | ) |
| std::vector< CutoffPairFeatures > gpr::cutoffPairFeatures | ( | const Coord & | positions, |
| const AtomsConfiguration & | configuration ) |
Sorted pair features for each configuration; absent pairs are exact zeros.
Definition at line 19 of file PairCutoff.cpp.
| std::vector< FieldMatrixd > gpr::cutoffPairSquaredDistances | ( | const Coord & | left, |
| const Coord & | right, | ||
| const AtomsConfiguration & | configuration, | ||
| const FieldMatrixd & | lengths ) |
Per-pairtype contributions to the Sexpat squared distance, 2 sum(delta^2/l^2).
Definition at line 184 of file PairCutoff.cpp.
|
nodiscardnoexcept |
Definition at line 113 of file ParameterDefaults.cpp.
|
inlinenoexcept |
Open MPI's libfabric BTL sleeps for one second when MPI_Finalize closes it (mca_btl_ofi_component_close), on every rank of every run that opened it. Ranks on one node exchange messages through the UCX or shared-memory transports and never use it, so a single-node launch leaves it out unless the caller chose the BTLs (OMPI_MCA_btl). Other MPI implementations ignore the variable.
Definition at line 42 of file MpiLifetime.h.
|
inlinenodiscard |
Eigenpairs of grown, whose leading principal submatrix has eigenpairs diagonal / basis (columns). Each new row is one arrowhead in that basis. False when any arrowhead is too clustered for the secular roots; the caller keeps the full eigensolver.
Definition at line 169 of file ArrowheadSpectrum.h.
| Eigen::VectorXd gpr::findFMode | ( | const EigenMatrix & | K, |
| const Eigen::VectorXd & | y, | ||
| const ObservationLikelihood & | ol, | ||
| int | max_iter = 30, | ||
| double | tol = 1e-8 ) |
Posterior mode f_mode = argmax_f [log p(y|f) + log N(f | 0, K)] via the Rasmussen-Williams safe Newton recursion (Algo 3.1).
Uses the B = I + W^{1/2} K W^{1/2} parameterisation that avoids inverting K directly. Converges in O(log(1/tol)) iterations on log-concave likelihoods when K is well-conditioned.
| K | Prior covariance; pass the K_theta at the current hyperparameters (WITHOUT noise added; noise lives in W). |
| y | Observations. |
| ol | Observation-likelihood contract (log-concave). |
| max_iter | Max Newton steps; throws if exceeded without abs(Delta f) < tol * max(1, abs(f)). |
| tol | Relative convergence tolerance. |
Definition at line 12 of file ObservationLikelihood.cpp.
| double gpr::forceDualNorm | ( | const Eigen::MatrixBase< Derived > & | direction, |
| ConvergenceNormType | norm ) |
Dual norm bounding the magnitude of direction dot force by ||direction||_* ||force||.
Definition at line 71 of file ForceNorm.h.
| double gpr::forceNorm | ( | const Eigen::MatrixBase< Derived > & | force, |
| ConvergenceNormType | norm ) |
Force magnitude in the selected convergence norm.
Definition at line 45 of file ForceNorm.h.
|
inline |
Definition at line 29 of file ForceNorm.h.
| void gpr::forEachCutoffPair | ( | const CutoffPairFeatures & | left, |
| const CutoffPairFeatures & | right, | ||
| Function && | function ) |
Visit the union of two sparse feature rows in their common pair vocabulary.
Definition at line 105 of file PairCutoff.h.
|
nodiscard |
Definition at line 273 of file RFFSelection.cpp.
|
nodiscard |
Options of an unflagged gprd invocation. The CLI member defaults and gpr_dimer_config_defaults both read this record.
Definition at line 79 of file ParameterDefaults.cpp.
|
nodiscard |
Cartesian action of the HS-SVD Hermite weights on directions. Equal-and-opposite energy weights cancel; the result is within one ulp of the cancelled weight scale of the exact residual.
Definition at line 1756 of file Decompose.cpp.
|
inline |
|
nodiscardconstexprnoexcept |
Definition at line 90 of file Structures.h.
|
nodiscard |
Integrated force-variance reduction from one joint energy-force query.
The candidate conditions on its complete energy-and-gradient observation block, while the target trace contains only Cartesian-gradient channels. The resulting score therefore has force-variance units and can rank acquisitions for a force-readiness decision without mixing physical units.
Definition at line 174 of file ObservationAcquisition.cpp.
|
nodiscard |
Integrated variance reduction from one joint energy-force query.
The covariance uses derivative-major Observation ordering: all query energies, followed by each Cartesian gradient component for all queries. Conditioning always uses the candidate's complete D+1 channel block.
Definition at line 162 of file ObservationAcquisition.cpp.
|
nodiscard |
Integrated reduction from the candidate block, target cross block, and target diagonal sum. No covariance between distinct targets is needed.
Definition at line 97 of file ObservationAcquisition.cpp.
| double gpr::laplaceMarginalLogLik | ( | const EigenMatrix & | K, |
| const Eigen::VectorXd & | y, | ||
| const Eigen::VectorXd & | f_mode, | ||
| const ObservationLikelihood & | ol ) |
Laplace approximation to log p(y | theta) given prior K and the converged posterior mode f_mode (R&W eq. 3.32):
log p(y|theta) ~= log p(y|f_mode) + log N(f_mode | 0, K)
with W = diag(negHessDiag(y, f_mode)).
Definition at line 56 of file ObservationLikelihood.cpp.
|
inlinenoexcept |
Whether the launcher placed every rank of this run on one node: the Open MPI launcher's world and node-local sizes agree, a Slurm step spans one node, or no launcher started the process (a singleton). Unknown launches count as several nodes.
Definition at line 24 of file MpiLifetime.h.
|
inlinenodiscard |
Lower edge of the feasible kernel length-scale domain for the MAP projection in optimize(). Two floors compose: a numerical collapse guard relative to the data diameter, and an absolute caller-set resolution floor (the dimer sets its finite-difference stencil diameter on its self-owned GP). A length scale below the sampling resolution fits sub-stencil noise as signal: the kernel degenerates into a delta comb whose relaxation endpoints scatter into EMD-distinct probes. The resolution floor guards against sub-resolution collapse only: when the training data spans less than the stencil (the two-row bootstrap), it is capped at the data diameter so the projection never forbids fits at the scale of the data itself. A chain-spacing floor (diameter/(n_images-1)) is deliberately NOT part of this domain: forcing the NEB session GP above chain spacing over-smooths the surrogate and moves the converged saddle (Baker14 anchor: 2.36819 eV at free length scales, 3.7772 eV with the chain bound; single-node A/B at 31b415ab).
Definition at line 306 of file GaussianProcessRegression.h.
| PublicLayoutBytes gpr::libraryPublicLayout | ( | ) |
Definition at line 15 of file PublicLayout.cpp.
|
inline |
Definition at line 44 of file Helpers.h.
| bool gpr::looCalibrationIsUnityFromCholeskyDiagonal | ( | const Eigen::VectorXd & | alpha, |
| const Eigen::VectorXd & | diagonal ) |
Certify unit LOO calibration using diag(L) without forming diag(K^-1). An inconclusive bound returns false and requires the full LOO statistic.
Definition at line 3999 of file StableBasis.cpp.
| double gpr::looVarianceCalibrationFactor | ( | const Eigen::VectorXd & | alpha, |
| const Eigen::VectorXd & | inv_diag ) |
Leave-one-out variance calibration factor from posterior weights alpha and the diagonal of the noisy precision (K + sigma2 I)^-1: the median squared LOO z-score over the chi-square(1) median, floored at 1. Shared by the dense Cholesky and HS-SVD backends.
Definition at line 4020 of file StableBasis.cpp.
|
nodiscard |
Definition at line 139 of file KernelOperator.cpp.
|
nodiscard |
The kernel's own Hessian preparation, or an empty function when it has none. Unlike makeKernelMeanHessian*, no meanHessianVector stand-in is made, so an empty result means the kernel has no analytic Hessian to prepare.
Definition at line 130 of file KernelOperator.cpp.
|
nodiscard |
Squared-exponential Pullback unless kernel is Matern52.
Definition at line 390 of file Matern52.cpp.
|
nodiscard |
Definition at line 73 of file KernelOperator.cpp.
|
nodiscard |
Owning fitted mean, using the kernel's representation or its exact product.
Definition at line 87 of file KernelOperator.cpp.
|
nodiscard |
Definition at line 349 of file KernelOperator.cpp.
|
nodiscard |
Dense mean Hessian of a kernel from the columns of its refusal-aware action. A failed column is Refused when an exact child refused it and Unavailable when only a generic child missed; the matrix is left empty in both cases.
Definition at line 372 of file KernelOperator.cpp.
|
nodiscard |
Definition at line 152 of file KernelOperator.cpp.
|
nodiscard |
Prepare a fitted kernel Hessian action that propagates exact-child refusals through composite operators.
Definition at line 167 of file KernelOperator.cpp.
| double gpr::medianPairwiseDistance | ( | const EigenMatrix & | R_train | ) |
Median of the strict-upper-triangle pairwise Euclidean row distances over a training set. Degree-1 homogeneous: median(s*X) = s*median(X).
Definition at line 13 of file ScaleFreeTrustRegion.cpp.
|
inlinenodiscard |
Definition at line 22 of file BlockOwnership.h.
|
inlinenodiscard |
Definition at line 31 of file BlockOwnership.h.
|
inline |
An omitted norm preserves the search's dimension-dependent default.
Definition at line 16 of file ForceNorm.h.
|
inline |
Definition at line 236 of file PermutationUtils.h.
|
inline |
Definition at line 254 of file PermutationUtils.h.
|
inline |
Definition at line 218 of file PermutationUtils.h.
|
nodiscard |
Counts for n_geometries rows of cartesian_dimension coordinates. The fit is the longest farthest-point prefix whose joint Gram fits in memory_cap_bytes, leaving at least one hold-out when there are two or more geometries. Feature counts are the powers of two from 1 through the largest power of two that is twice-overdetermined on both the fit and the full design and whose normal matrix fits in the same cap.
Definition at line 171 of file RFFSelection.cpp.
|
inline |
|
inline |
Whether the prior-free marginal-likelihood gradient may form a replicated K^{-1}.
Eigen's prior-free fit was measured on that inverse: the solve-based trace disagrees by about cond(K) * eps and the fit then stops one step early. CHOLMOD's solve already takes the measured number of steps. ScaLAPACK and SLATE (which also defines GPR_LINALG_SCALAPACK) take the trace from the distributed factor and never read a replicated inverse, so gathering one only costs N^2 memory per rank.
Definition at line 19 of file PriorFreeInverse.h.
|
inline |
|
inline |
|
nodiscard |
Radial features with analytic Cartesian curvature. A positive cutoff selects neighbours; zero retains every active moving-atom pair.
Definition at line 28 of file PairCutoff.cpp.
|
nodiscard |
A positive far radius compresses distant frozen atoms into linear features in the fixed reference chart. It cannot be combined with a cutoff.
Definition at line 34 of file PairCutoff.cpp.
| std::vector< FieldMatrixd > gpr::radialPairSquaredDistances | ( | const Coord & | left, |
| const Coord & | right, | ||
| const AtomsConfiguration & | configuration, | ||
| const FieldMatrixd & | lengths, | ||
| double | far_radius ) |
Definition at line 194 of file PairCutoff.cpp.
|
inline |
Definition at line 196 of file Helpers.h.
|
inline |
Definition at line 196 of file Helpers.h.
|
inline |
Definition at line 196 of file Helpers.h.
|
inlinenoexcept |
Ends a driver after an exception escaped it: prints the message and returns the exit status 1. On more than one rank the job is aborted through MPI_Abort, since the other ranks may wait in a collective the failing rank never reaches; on one rank an MPI world the driver initialized is finalized. This replaces std::terminate, whose abort leaves a core dump and no message on most launchers.
Definition at line 143 of file MpiLifetime.h.
|
inline |
Definition at line 26 of file PriorScale.h.
|
inline |
Definition at line 17 of file PriorScale.h.
|
inline |
Definition at line 73 of file PhaseTimers.h.
|
nodiscard |
The derivative tensors of one geometry block: the cached copy, or, for a streamed geometry, a rebuild into scratch from the stored coordinate blocks. Returns nullptr when the block cannot be built.
Definition at line 222 of file CovarianceAssembly.cpp.
|
nodiscard |
Greedy maximin on squared Euclidean distance. Index 0 is first. A tie keeps the smaller index, so the order does not use a random generator.
Definition at line 235 of file RFFSelection.cpp.
| std::string gpr::sha256File | ( | const std::string & | path | ) |
Digest of a file's contents; empty when the file cannot be read.
Definition at line 134 of file Sha256.cpp.
| std::string gpr::sha256Hex | ( | const void * | data, |
| std::size_t | size ) |
Lowercase hexadecimal SHA-256 digest of a byte range (FIPS 180-4).
Definition at line 127 of file Sha256.cpp.
|
nodiscard |
Project a rounded covariance onto the positive-semidefinite cone while preserving its nonnegative diagonal exactly.
Returns false for a non-square, non-finite or negative-diagonal input, when a correlation ratio is not finite, when a negative eigenvalue of that correlation exceeds the rounding tolerance, or when the correlation eigensolver fails. A smaller negative eigenvalue is projected away.
Definition at line 4368 of file StableBasis.cpp.
| bool gpr::subtractStableBasisProjectedCrossCovariance | ( | const StableBasisND & | basis, |
| const Eigen::MatrixXd & | Kstar, | ||
| const Eigen::MatrixXd & | Kright, | ||
| const Eigen::MatrixXd & | prior, | ||
| double | total_sigma2, | ||
| Eigen::MatrixXd & | K_post, | ||
| bool | contracted_mean = false, | ||
| Eigen::Index | left_queries = 1, | ||
| Eigen::Index | right_queries = 1 ) |
Posterior cross covariance K(q, q') - k*^T (K + sigma2 I)^{-1} k*' on a stable basis. An in-range query cancels to a diagonal a few ulps of the prior diagonal from zero, the rounding of the basis column norms. For a self-covariance (&Kstar == &Kright and not a contracted mean), a negative diagonal cancellation residue is bounded by 2 * eps * local_scale. local_scale is abs(prior_ii) + abs(projected_ii) + abs(complement_ii): the absolute prior diagonal and the absolute values of the two subtracted terms. A column of n entries has a squared norm that rounds by about n*eps/2, so the raw diagonal can reach about n*eps*abs(prior). When that raw value lies within 3 times the bound, the subtraction returns the bound and keeps the sign. Cross-covariances and contracted means are left unclamped.
| bool gpr::subtractStableBasisProjectedCrossCovariance | ( | const StableBasisND & | basis, |
| const EigenMatrix & | Kstar, | ||
| const EigenMatrix & | Kright, | ||
| const EigenMatrix & | prior, | ||
| const double | total_sigma2, | ||
| EigenMatrix & | K_post, | ||
| bool | contracted_mean, | ||
| Eigen::Index | left_queries, | ||
| Eigen::Index | right_queries ) |
Definition at line 103 of file Variance.cpp.
|
inline |
|
inline |
|
inline |
Definition at line 245 of file PermutationUtils.h.
|
inline |
Definition at line 266 of file PermutationUtils.h.
|
inline |
Definition at line 227 of file PermutationUtils.h.
|
inline |
Whether evaluateGradientWithGeometry may pass dense Cholesky factor L to the derivative trace contractions and appendLikelihoodNoiseGradient.
Prior-free Eigen fits use invC.trace() instead of L; HS-SVD Q-form gradients skip Cholesky decomposition so L may be absent or stale; ScaLAPACK/SLATE distributed fits must pass an empty factor so appendLikelihoodNoiseGradient selects the collective distributed trace.
Definition at line 34 of file PriorFreeInverse.h.
|
inlinenodiscardnoexcept |
Classic joint [E, F] inverse-distance profiles share the original Sexpat prior density (PriorSqrtt on magnSigma2, PriorGaussian on length scales, plus the packed-parameter log Jacobian).
Definition at line 206 of file Structures.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
constexpr |
|
constexpr |
| double gpr::g_geom_build_seconds = 0.0 |
Definition at line 49 of file CovarianceAssembly.cpp.
| double gpr::g_max_abs_alpha = 0.0 |
Definition at line 58 of file EnergyGradient.cpp.
| double gpr::g_max_cond_k = 0.0 |
Definition at line 57 of file EnergyGradient.cpp.
|
inlineconstexpr |
Definition at line 19 of file Matern52.h.
|
inlineconstexpr |
Energy-channel floor used by the production random-feature model.
Definition at line 26 of file RFFFeatureSelection.h.
|
inlineconstexpr |
Sentinel stored in integer feature-count fields for the automatic rule.
Definition at line 35 of file RFFFeatureSelection.h.
|
inlineconstexpr |
Band force tolerance the random-feature error is not allowed to cross.
Definition at line 30 of file RFFFeatureSelection.h.
|
inlineconstexpr |
Gradient-channel floor used by the production random-feature model.
Definition at line 28 of file RFFFeatureSelection.h.
|
inlineconstexpr |
Exact validation Gram, and the D-by-D normal matrix, stay under this.
Definition at line 32 of file RFFFeatureSelection.h.
|
thread_local |
Thread-local switch for the local-oracle gradient region: when true the per-pair OpenMP pragma inside SexpatCF::calculateGradOfCov- MatrixWithDerivatives* activates. Set to true ONLY inside the SVGD per-particle oracle (which runs serial_per_rank=true with no MPI/ScaLAPACK collectives); SCG/MAP/Laplace paths leave it false so the distributed Cholesky doesn't get nested OMP teams that would oversubscribe the host.
Definition at line 35 of file SexpatCF.cpp.