Publications by Spencer Murrin
Apply___12
library(tidyverse) ## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ── ## ✔ dplyr 1.1.4 ✔ readr 2.1.4 ## ✔ forcats 1.0.0 ✔ stringr 1.5.0 ## ✔ ggplot2 3.4.4 ✔ tibble 3.2.1 ## ✔ lubridate 1.9.3 ✔ tidyr 1.3.0 ## ...
1029 sym R (8867 sym/29 pcs)
Code_Along__12
Load necessary libraries library(tidyverse) ## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ── ## ✔ dplyr 1.1.4 ✔ readr 2.1.4 ## ✔ forcats 1.0.0 ✔ stringr 1.5.0 ## ✔ ggplot2 3.4.4 ✔ tibble 3.2.1 ## ✔ lubridate 1.9.2 ...
605 sym R (6473 sym/32 pcs)
Apply___11
library(tidyverse) ## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ── ## ✔ dplyr 1.1.4 ✔ readr 2.1.4 ## ✔ forcats 1.0.0 ✔ stringr 1.5.0 ## ✔ ggplot2 3.4.4 ✔ tibble 3.2.1 ## ✔ lubridate 1.9.2 ✔ tidyr 1.3.0 ## ...
60 sym R (16495 sym/44 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) ## ## ---------------------------------------------------------------------- ## ## Your next step is to start H2O: ## > h2o.init() ## ## For H2O pack...
350 sym R (32822 sym/48 pcs)
Apply___10
# for Core packages library(tidyverse) ## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ── ## ✔ dplyr 1.1.4 ✔ readr 2.1.4 ## ✔ forcats 1.0.0 ✔ stringr 1.5.0 ## ✔ ggplot2 3.4.4 ✔ tibble 3.2.1 ## ✔ lubridate 1.9.2 ✔...
486 sym R (19400 sym/45 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_index_t...
2115 sym R (10070 sym/29 pcs) 4 img
Code_Along_10
Packages 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) library(lubridate) ## ## Attaching package: 'lubridate' ## The following objects are mask...
466 sym R (15781 sym/61 pcs) 5 img
Code_Along_9
Set up library(tidyverse) ## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ── ## ✔ dplyr 1.1.4 ✔ readr 2.1.4 ## ✔ forcats 1.0.0 ✔ stringr 1.5.0 ## ✔ ggplot2 3.4.4 ✔ tibble 3.2.1 ## ✔ lubridate 1.9.2 ✔ tidyr 1....
280 sym R (11746 sym/38 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 ─────────────────────────────────────────────────�...
904 sym R (14368 sym/32 pcs) 2 img 4 tbl
Apply__7
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 ─────────────────────────────────────────────────�...
225 sym R (97064 sym/32 pcs) 2 img 4 tbl