https://datacompression.pythonprogramminghelp.com/how-to-find-logistic-regression/