Function Approximation And Classification With Perturbed Data