--- title: "Biostat 212a Homework 4" subtitle: "Due Mar. 10, 2026 @ 11:59PM" author: "YOUR NAME and UID" date: today format: html: theme: cosmo embed-resources: true 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.