- Advanced Machine Learning with R
- Cory Lesmeister Dr. Sunil Kumar Chinnamgari
- 252字
- 2021-06-24 14:24:36
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
- 用“芯”探核:龍芯派開發(fā)實(shí)戰(zhàn)
- 筆記本電腦使用、維護(hù)與故障排除實(shí)戰(zhàn)
- Cortex-M3 + μC/OS-II嵌入式系統(tǒng)開發(fā)入門與應(yīng)用
- Augmented Reality with Kinect
- 網(wǎng)絡(luò)服務(wù)器配置與管理(第3版)
- Effective STL中文版:50條有效使用STL的經(jīng)驗(yàn)(雙色)
- 辦公通信設(shè)備維修
- 筆記本電腦維修不是事兒(第2版)
- CC2530單片機(jī)技術(shù)與應(yīng)用
- Rapid BeagleBoard Prototyping with MATLAB and Simulink
- 龍芯自主可信計(jì)算及應(yīng)用
- Java Deep Learning Cookbook
- 微服務(wù)實(shí)戰(zhàn)(Dubbox +Spring Boot+Docker)
- The Reinforcement Learning Workshop
- 詳解FPGA:人工智能時(shí)代的驅(qū)動(dòng)引擎