Every problem in the chapter beside the book’s answer, a chapter at a time as you scroll.
Chapter 6: Decision-Making Using Machine Learning Basics
5 problems · 0 figures6-1 §6.2 source ↗
- a.linear or multiple linear regression
- b.logistic or multiple logistic regression
- c.k-means clustering
- d.naïve Bayes classification
Answer
Quantitative Problem 6.1 §6.1 source ↗
Using software such as Excel, Python, or similar tools, the regression line can be found. For this data, the linear model would be , where is years since 1900. Compute the MAE, MAPE, MSE, and RMSE for this model.
| Year | Time |
| 1912 | 10.6 |
| 1921 | 10.4 |
| 1930 | 10.3 |
| 1936 | 10.2 |
| 1956 | 10.1 |
| 1960 | 10 |
| 1968 | 9.95 |
| 1983 | 9.93 |
| 1988 | 9.92 |
| 1991 | 9.9 |
| 1991 | 9.86 |
| 1994 | 9.85 |
| 1996 | 9.84 |
| 1999 | 9.79 |
Answer (2 parts)
Quantitative Problem 6.2 §6.2 source ↗
Answer
Quantitative Problem 6.3 §6.4 source ↗
Answer (3 parts)
Quantitative Problem 6.4 §6.4 source ↗
Answer (2 parts)
Loading chapter 7…
Problems and answers are adapted from Principles of Data Science by Shaun V. Ault, Soohyun Nam Liao and Larry Musolino, OpenStax, and are used under the CC BY-NC-SA 4.0 licence. Access for free at https://openstax.org/books/principles-data-science/pages/1-introduction. Illustrations: Copyright Rice University, OpenStax, under CC BY-NC-SA 4.0 license. This adaptation is released under the same licence, is non-commercial, and is neither affiliated with nor endorsed by OpenStax or Rice University.