Development of an adaptive sampling method that efficiently varies the sampling rate in local regions of a function based on the distribution of already collected samples. The algorithm does not rely on gradients in the parameter space and therefore allows to create accurate representation with less collected or computed sample points. In cases where he acquisition of samples is expensive, like computer simulations or experiments, ASHE has the advantage of requiring significantly less data points.