--- title: "Econ 425T Homework 4" subtitle: "Due Feb 24, 2023 @ 11:59PM" author: "YOUR NAME and UID" date: "`r format(Sys.time(), '%d %B, %Y')`" format: html: theme: cosmo number-sections: true toc: true toc-depth: 4 toc-location: left code-fold: false engine: knitr knitr: opts_chunk: fig.align: 'center' # fig.width: 6 # fig.height: 4 message: FALSE cache: false --- ## ISL Exercise 8.4.3 (10pts) ## ISL Exercise 8.4.4 (10pts) ## ISL Exercise 8.4.5 (10pts) ## ISL Lab 8.3. `Boston` data set (30pts) Follow the machine learning workflow to train regression tree, random forest, and boosting methods for predicting `medv`. Evaluate out-of-sample performance on a test set. ## ISL Lab 8.3 `Carseats` data set (30pts) Follow the machine learning workflow to train classification tree, random forest, and boosting methods for classifying `Sales <= 8` versus `Sales > 8`. Evaluate out-of-sample performance on a test set.