官术网_书友最值得收藏!

Logistic Regression

"The true logic of this world is the calculus of probabilities."
- James Clerk Maxwell, Scottish physicist

In the previous chapter, we took a look at using Ordinary Least Squares (OLS) to predict a quantitative outcome or, in other words, linear regression. It's now time to shift gears somewhat and examine how we can develop algorithms to predict qualitative outcomes. Such outcome variables could be binary (male versus female, purchase versus doesn't purchase, or a tumor is benign versus malignant) or multinomial categories (education level or eye color). Regardless of whether the outcome of interest is binary or multinomial, our task is to predict the probability of an observation belonging to a particular category of the outcome variable. In other words, we develop an algorithm to classify the observations.

To begin exploring classification problems, we'll discuss why applying the OLS linear regression isn't the correct technique and how the algorithms introduced in this chapter can solve these issues. We'll then look at the problem of predicting whether or not a banking customer is satisfied. To tackle this problem, we'll begin by building and interpreting a logistic regression model. We'll also start examining a univariate method to select features. Next, we'll turn to multivariate regression splines and discover ways to choose the best overall algorithm. This chapter will set the stage for more advanced machine learning methods in subsequent chapters.

We'll be covering the following topics in this chapter:

  • Classification methods and linear regression
  • Logistic regression
  • Model training and evaluation
主站蜘蛛池模板: 曲靖市| 登封市| 昭通市| 土默特右旗| 平乐县| 营山县| 长沙县| 明水县| 中宁县| 共和县| 临澧县| 乌兰察布市| 广德县| 贡山| 虞城县| 和林格尔县| 宜章县| 威远县| 哈巴河县| 昌图县| 德兴市| 民乐县| 会昌县| 钟山县| 秦安县| 鄯善县| 安多县| 本溪| 高密市| 烟台市| 洮南市| 桐乡市| 丹阳市| 七台河市| 吉安县| 磐石市| 维西| 凭祥市| 来宾市| 绵阳市| 阳信县|