Logistic Regression

Logistic regression is a classification algorithm used to predict the probability of an instance belonging to a particular class. It is a type of generalized linear model that uses the logistic function to model the relationship between input features and the target variable. Logistic regression is commonly used for binary classification tasks, such as spam detection or medical diagnosis.