- Mastering Machine Learning with R
- Cory Lesmeister
- 252字
- 2021-07-02 13:46:22
Logistic Regression
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
- 機(jī)器學(xué)習(xí)及應(yīng)用(在線實(shí)驗(yàn)+在線自測(cè))
- 數(shù)據(jù)挖掘?qū)嵱冒咐治?/a>
- 工業(yè)機(jī)器人工程應(yīng)用虛擬仿真教程:MotoSim EG-VRC
- 嵌入式Linux上的C語(yǔ)言編程實(shí)踐
- 21天學(xué)通C#
- Windows環(huán)境下32位匯編語(yǔ)言程序設(shè)計(jì)
- 中國(guó)戰(zhàn)略性新興產(chǎn)業(yè)研究與發(fā)展·增材制造
- 機(jī)床電氣控制與PLC
- Data Analysis with R(Second Edition)
- 網(wǎng)頁(yè)設(shè)計(jì)與制作
- 51單片機(jī)應(yīng)用程序開(kāi)發(fā)與實(shí)踐
- 開(kāi)放自動(dòng)化系統(tǒng)應(yīng)用與實(shí)戰(zhàn):基于標(biāo)準(zhǔn)建模語(yǔ)言IEC 61499
- 巧學(xué)活用Linux
- 微計(jì)算機(jī)原理及應(yīng)用
- 從實(shí)踐中學(xué)嵌入式Linux操作系統(tǒng)