https://pl-m.codingforstudent.com/the-science-of-how-to-logistic-regression-models/