A step by step guide for implementing one of the most trending machine learning algorithm using numpy