geopfa.extrapolation.compute_lengthscale_bounds_from_global_radius

compute_lengthscale_bounds_from_global_radius(R, lower_frac=0.02, upper_frac=0.2)[source]

Compute dataset-agnostic kernel lengthscale bounds based on the global spatial radius of the standardized coordinate domain.

Parameters:
  • R (float) – Global radius computed from compute_global_radius().

  • lower_frac (float, optional) – Fraction of R used to set the minimum allowed lengthscale.

  • upper_frac (float, optional) – Fraction of R used to set the maximum allowed lengthscale.

Returns:

(float, float) – A tuple (lower_bound, upper_bound) specifying the recommended bounds for ARD lengthscales in the GP kernel.

Notes

  • These scaled bounds help stabilize GP optimization across different datasets by relating lengthscale limits to domain size.