my realization of classical machine learning functions with python (using numpy).