non-parametric adaptive method