Understanding the Distinction: Linear Regression vs Logistic Regression and How to Apply Each Model