logistic regression python code from scratch with dataset github