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

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
主站蜘蛛池模板: 达拉特旗| 凌云县| 宿州市| 张家界市| 永济市| 额尔古纳市| 惠水县| 濮阳市| 莱阳市| 永城市| 体育| 襄垣县| 锡林郭勒盟| 资溪县| 东宁县| 霍林郭勒市| 临泉县| 江津市| 肃南| 拉孜县| 永年县| 温泉县| 阜城县| 亳州市| 屯留县| 通化市| 区。| 望城县| 隆子县| 庆云县| 平凉市| 三台县| 邓州市| 南投县| 苍溪县| 都江堰市| 彭山县| 宜宾市| 勃利县| 吉安市| 九江县|