Let’s dive in into the functioning of Logistic Regression and PLA. Prerequisites :- Linear Regression and Gradient Descent. LOGISTIC REGRESSION :- We have talked about linear regression which is useful for regression task. Logistic Regression is used for classification task , where the dependent variable only contains discrete values . Logistic Regression is…