2.1.5. Logistic Regression (LR)

Logistic regression is a supervised machine learning algorithm designed to solve classification problems where the target variable is categorical. The primary objective of logistic regression is to establish a mapping function from the dataset's features to the target. This allows the algorithm to predict the probability of a new data point belonging to a particular class [48]. As shown in Figure 1D, the input space is divided into two regions, which are separated by a boundary. Logistic regression is a widely used algorithm in many fields, such as marketing, healthcare, and finance, as it can help identify patterns and relationships between variables that can assist in making accurate predictions and decisions [49].
