Non-Parametric Supervised Learning Algorithm