Modeling the Relationship via Logistic Regression
We will dedicate the rest of this chapter to one of the fundamental techniques in data analysis and machine learning: linear and logistic regression.
Suppose that we are estimating the relationship between m different features.
In both linear and logistic regression, a set of features, X
1, ..., X
m, and a target variable, Y
, are provided to model the target variable, Y
, as a function of the features, X
1, ..., X
m, as in the following equation:

Figure 3.16: General form of linear/logistic regression