Understand Adaptive Sampling Benchmarks
mainAdaptive sampling is used to approximate functions by concentrating sample points in areas with sharp features or rapid changes. This allows for more accurate function representation and faster convergence compared to uniform sampling, especially when using fewer total points.
In the adaptive benchmarks, effectiveness is measured using an error ratio: the ratio of the error produced by a homogeneous (uniform) learner to the error produced by the adaptive learner.
Key Concepts:
- Adaptive Learner: Uses adaptive sampling to focus on complex regions.
- Homogeneous Learner: Uses a uniform grid of points.
- Benchmark Functions: The showcase includes 1D and 2D functions such as sharp peaks, Gaussian, sinusoidal, exponential decay, and Lorentzian functions.