13
Logistic Regression in R
In this chapter, we will introduce logistic regression, covering its theoretical construct, connection with linear regression, and practical implementation. As it is an important classification model that is widely used in areas where interpretability matters, such as credit risk modeling, we will focus on its modeling process in different contexts, along with extensions such as adding regularization to the loss function and predicting more than two classes.
By the end of this chapter, you will understand the fundamentals of the logistic regression model and its comparison with linear regression, including extended concepts such as the sigmoid function, odds ratio, and cross-entropy loss (CEL). You will also have ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access