Publications by David Nilsson

Intermediate Apply 12

07.12.2024

Set up # Load necessary libraries library(tidymodels) # For modeling and evaluation ## Warning: package 'tidymodels' was built under R version 4.3.3 ## ── Attaching packages ────────────────────────────────────── tidymodels 1.2.0 ── ## ✔ broom 1.0.5 ...

860 sym R (12917 sym/50 pcs)

Intermidiate Code Along 12

06.12.2024

Goal is to automate building and tuning a classification model to predict employee attrition, using the h2o::h2o.automl. Set up Import data Import the cleaned data from Module 7. library(h2o) ## Warning: package 'h2o' was built under R version 4.3.3 ## ## ---------------------------------------------------------------------- ## ## Your next...

370 sym R (26781 sym/67 pcs)

Intermediate Code Along 11

22.11.2024

Goal is to automate building and tuning a classification model to predict employee attrition, using the h2o::h2o.automl. Set up Import data Import the cleaned data from Module 7. library(h2o) ## Warning: package 'h2o' was built under R version 4.3.3 ## ## ---------------------------------------------------------------------- ## ## Your next...

370 sym R (26211 sym/67 pcs)

Intermediate Apply 11

22.11.2024

Set up Import data Import the cleaned data from Module 7. library(h2o) ## Warning: package 'h2o' was built under R version 4.3.3 ## ## ---------------------------------------------------------------------- ## ## Your next step is to start H2O: ## > h2o.init() ## ## For H2O package documentation, ask for help: ## > ??h2o ## ## ...

250 sym R (21486 sym/69 pcs)

Intermediate Apply 10

15.11.2024

# for Core packages library(tidyverse) ## Warning: package 'ggplot2' was built under R version 4.3.3 ## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ── ## ✔ dplyr 1.1.4 ✔ readr 2.1.5 ## ✔ forcats 1.0.0 ✔ stringr 1.5.1 ## ✔ ggpl...

552 sym R (11339 sym/50 pcs) 5 img

Intermediate Code Along 10

11.11.2024

Set Up library(dplyr) ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:stats': ## ## filter, lag ## The following objects are masked from 'package:base': ## ## intersect, setdiff, setequal, union library(ggplot2) ## Warning: package 'ggplot2' was built under R version 4.3.3 library(lubridate) ## #...

495 sym R (10045 sym/62 pcs) 5 img

Int Apply 9

08.11.2024

Set up library(tidyverse) library(tidyquant) # for financial analysis library(broom) # for tidy model results library(umap) # for dimension reduction library(plotly) # for interactive visualization Data # Get info on companies listed in S&P500 sp500_index_tbl <- tq_index("SP500") # Get individual stocks from S&P500 sp500_symbols <- sp500_...

1934 sym R (10281 sym/27 pcs) 3 img

Intermediate Code Along 9

05.11.2024

Set Up library(tidyverse) ## Warning: package 'ggplot2' was built under R version 4.3.3 ## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ── ## ✔ dplyr 1.1.4 ✔ readr 2.1.5 ## ✔ forcats 1.0.0 ✔ stringr 1.5.1 ## ✔ ggplot2 3.5.1 ...

274 sym R (10650 sym/37 pcs) 4 img

Intermediate Apply 8

31.10.2024

Import data library(tidyverse) ## Warning: package 'ggplot2' was built under R version 4.3.3 ## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ── ## ✔ dplyr 1.1.4 ✔ readr 2.1.5 ## ✔ forcats 1.0.0 ✔ stringr 1.5.1 ## ✔ ggplot2 3.5...

822 sym R (12446 sym/54 pcs) 2 img 8 tbl

Intermediate Code Along 8

30.10.2024

Goal is to predict attrition, employees who are likely to leave the company. Import data library(tidyverse) ## Warning: package 'ggplot2' was built under R version 4.3.3 ## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ── ## ✔ dplyr 1.1.4 ✔ readr ...

852 sym R (24672 sym/56 pcs) 6 img 3 tbl