This is a gradient decent algorithm code using python. ONLY NumPy library has been used to write the code.