check assumptions of logistic regression in python