Publications by Amanda Simpson
Apply 12
library(tidyverse) ## Warning: package 'tidyverse' was built under R version 4.2.3 ## Warning: package 'ggplot2' was built under R version 4.2.3 ## Warning: package 'tibble' was built under R version 4.2.3 ## Warning: package 'tidyr' was built under R version 4.2.3 ## Warning: package 'readr' was built under R version 4.2.3 ## Warning: package 'pur...
2169 sym R (15002 sym/54 pcs)
Code Along 12
Code Along 12 —- STEP 2: Write ChatGPT Prompts —- - Goal: Create ChatGPT Prompts to build a ML model library(tidyverse) attrition_raw_tbl <- read_csv(“00_data/WA_Fn-UseC_-HR-Employee-Attrition.csv”) If data is not sensitive: attrition_raw_tbl %>% glimpse() If data is sensitive: attrition_raw_tbl %>% slice(0) %>% glimpse() Prompt 1: I ...
11997 sym
Apply 11
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.2.3 ## ## ---------------------------------------------------------------------- ## ## Your next...
383 sym R (51674 sym/80 pcs)
Code Along 11
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.2.3 ## ## ---------------------------------------------------------------------- ## ## Your next...
383 sym R (53762 sym/80 pcs)
Apply 10
# for Core packages library(tidyverse) ## Warning: package 'tidyverse' was built under R version 4.2.3 ## Warning: package 'ggplot2' was built under R version 4.2.3 ## Warning: package 'tibble' was built under R version 4.2.3 ## Warning: package 'tidyr' was built under R version 4.2.3 ## Warning: package 'readr' was built under R version 4.2.3 ## ...
472 sym R (4537 sym/36 pcs)
Code Along 10
Set Up library(dplyr) ## Warning: package 'dplyr' was built under R version 4.2.3 ## ## 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 'ggplot...
203 sym R (4801 sym/29 pcs) 2 img
Apply 9
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_...
1936 sym R (9670 sym/29 pcs) 4 img
Code Along 9
Set Up library(tidyverse) ## Warning: package 'tidyverse' was built under R version 4.2.3 ## Warning: package 'ggplot2' was built under R version 4.2.3 ## Warning: package 'tibble' was built under R version 4.2.3 ## Warning: package 'tidyr' was built under R version 4.2.3 ## Warning: package 'readr' was built under R version 4.2.3 ## Warning: packa...
301 sym R (12752 sym/56 pcs) 4 img
Apply 8
Import Data members <- readr::read_csv('https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2020/2020-09-22/members.csv') ## Rows: 76519 Columns: 21 ## ── Column specification ─────────────────────────────────────────────────...
990 sym R (28514 sym/47 pcs) 6 img 4 tbl
Code Along 8
Goal is to predict attrition, employees who are likely to leave the company. Import Data data <- read_csv("../00_data/WA-HR-Employee-Attrition.csv") ## Rows: 1470 Columns: 35 ## ── Column specification ───────────────────────────────────────────────...
1181 sym R (21297 sym/37 pcs) 6 img 3 tbl