deep learning prerequisites logistic regression in python coupon