Skip to content

Commit

Permalink
Update Chapter 8 - Decision trees Quarto main and notes documents, in…
Browse files Browse the repository at this point in the history
…cluding images and Hitters dataset (#7)

* Add ISLP Chapter 3 - Linear Regression notes

* Update Chapter 8 main and notes Quarto documents, including images and Hitters datatset

* Delete .vdoc.r and .vdoc.py, update .gitignore to filter out those files in the future
  • Loading branch information
rserran authored Dec 1, 2023
1 parent af72270 commit 46e1587
Show file tree
Hide file tree
Showing 18 changed files with 764 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@ docs
*.pdf
*_notes_files/
.quarto
.vdoc.py
.vdoc.r

!sidebars-toggle.html
10 changes: 7 additions & 3 deletions 08_main.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Learning Objectives

- item 1
- item 2
- item 3
- Use **decision trees** o model relationships between predictors and an outcome
- Compare and contrast tree-based models with other model types
- Use **tree-based ensemble methods** to improve predictive models
- Compare and contrast the various methods of building tree ensembles: bagging, boosting, random forests, and Bayesian Additive Regression Trees (BART)

Sources:
https://github.com/JauntyJJS/islr2-bookclub-cohort3-chapter8, https://hastie.su.domains/ISLR2/Slides/Ch8_Tree_Based_Methods.pdf
417 changes: 416 additions & 1 deletion 08_notes.qmd

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions _freeze/03_notes/execute-results/html.json

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions _freeze/08_notes/execute-results/html.json

Large diffs are not rendered by default.

323 changes: 323 additions & 0 deletions data/Hitters.csv

Large diffs are not rendered by default.

Binary file added images/08_10_boosting_algorithm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/08_11_boosting_gene_exp_data.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/08_12_bart_algorithm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/08_1_salary_data.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/08_2_basic_tree.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/08_3_basic_tree_term.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/08_4_hitters_predictor_space.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/08_5_hitters_unpruned_tree.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/08_6_hitters_mse.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/08_7_classif_tree_heart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/08_8_var_importance.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/08_9_rand_forest_gene_exp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 46e1587

Please sign in to comment.