Errata fixes (#45)

* fixes to Rmd from Daniela's errata
This commit is contained in:
Jonathan Taylor
2025-04-03 12:34:12 -07:00
parent 8fa98567ee
commit e03d0b2dd6
8 changed files with 25 additions and 23 deletions

View File

@@ -223,7 +223,7 @@ grid.fit(X_train, High_train)
grid.best_score_
```
Lets take a look at the pruned true.
Lets take a look at the pruned tree.
```{python}
ax = subplots(figsize=(12, 12))[1]
@@ -509,7 +509,7 @@ np.mean((y_test - y_hat_boost)**2)
```
In this case, using $\lambda=0.2$ leads to a almost the same test MSE
In this case, using $\lambda=0.2$ leads to almost the same test MSE
as when using $\lambda=0.001$.