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

Linear Regression

"An approximate answer to the right problem is worth a good deal more than an exact answer to an approximate problem."
– John Tukey

It's essential that we get started with a simple yet extremely effective technique that's been used for a long time: linear regression. Albert Einstein is believed to have remarked at one time or another that things should be made as simple as possible, but no simpler. This is sage advice and a good rule of thumb in the development of algorithms for machine learning. Considering the other techniques that we'll discuss later, there's no simpler model than tried and tested linear regression, which uses the least squares approach to predict a quantitative outcome. We can consider it to be the foundation of all the methods that we'll discuss later, many of which are mere extensions. If you can master the linear regression method, well then quite frankly I believe you can master the rest of this book. Therefore, let's consider this as a good starting point for our journey towards becoming a machine learning guru.

This chapter covers introductory material and an expert in this subject can skip ahead to the next topic. Otherwise, ensure that you thoroughly understand this topic before venturing to other, more complex learning methods. I believe you'll discover that many of your projects can be addressed by just applying what's discussed in the following sections. Linear regression is probably the most straightforward model to explain to your customers, most of whom will have at least a cursory understanding of R-squared. Many of them will have been exposed to it at great depth and hence will be comfortable with variable contribution, collinearity, and the like.

The following are the topics that we'll be covering in this chapter:

  • Univariate linear regression
  • Multivariate linear regression
主站蜘蛛池模板: 武穴市| 浦东新区| 买车| 呼伦贝尔市| 沭阳县| 酒泉市| 珲春市| 正定县| 枞阳县| 洪雅县| 绥芬河市| 昌宁县| 玛曲县| 内丘县| 临夏市| 沛县| 汶上县| 凌海市| 凤阳县| 扎赉特旗| 津市市| 富民县| 吉首市| 阳春市| 来宾市| 湄潭县| 马山县| 五常市| 沿河| 得荣县| 兴安县| 垣曲县| 嵊泗县| 吉林省| 仁布县| 余姚市| 铜梁县| 西平县| 周宁县| 广西| 监利县|