Supervised machine learning : a theoretical study with applications