Publications by Harold Nelson
Classification 1
Classification 1 Harold Nelson 11/12/2020 KNN and Naive Bayes The task is to predict the gender of a person based on other characteristics? This document works through two model types, K Nearest Neighbors and Naive Bayes. The Data This section of the document repeats material from other documents so that it will stand alone by itself. It also...
5085 sym R (11153 sym/95 pcs)
Vectorized Thinking
2/1/2021 New Thinking There are certain patterns you have learned in other computer languages which you will want to change when you work in R. Computing a Sum One of the standard paradigms in most languages to accomplish a task is as follows. Initialize an object Iterate over a collection to modify the object. We can compute the sum of the nu...
1005 sym R (309 sym/6 pcs)
Healy Chapter 4 Part 1
Healy Chapter 4 Part 1 Harold Nelson 1/27/2021 library(socviz) library(gapminder) library(tidyverse) ## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.0 ── ## ✓ ggplot2 3.3.0 ✓ purrr 0.3.4 ## ✓ tibble 3.0.5 ✓ dp...
1923 sym R (3130 sym/19 pcs) 8 img
Exercises on Functions
Exercises on Functions Harold Nelson 9/16/2021 Ex1 Create a function, quad(a,b,c,x), to evaluate a quadratic polynomial at a given value of x. The parameters of the function are, in order: a, the coefficient of the quadratic term. b, the coefficient of the linear term. c, the constant term. x, the value at which the polynomial is to be evalua...
2879 sym R (2689 sym/77 pcs)
One Quantitative One Categorical
One Categorical and One Quantitative Harold Nelson 2/3/2021 Setup ## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.0 ── ## ✓ ggplot2 3.3.0 ✓ purrr 0.3.4 ## ✓ tibble 3.0.5 ✓ dplyr 1.0.3 ## ✓ tidyr 1.0.2 ...
703 sym R (2608 sym/9 pcs) 2 img
Two Categorical Variables
Two Categorical Variables Harold Nelson 1/29/2021 Setup library(tidyverse) ## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.0 ── ## ✓ ggplot2 3.3.0 ✓ purrr 0.3.4 ## ✓ tibble 3.0.5 ✓ dplyr 1.0.3 ## ✓ tidyr ...
3691 sym R (9781 sym/42 pcs) 16 img
Notes 545 Mar 1
Notes March 1 Harold Nelson 3/1/2021 Setup library(tidyverse) ## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.0 ── ## ✓ ggplot2 3.3.3 ✓ purrr 0.3.4 ## ✓ tibble 3.0.6 ✓ dplyr 1.0.4 ## ✓ tidyr 1.1.2 �...
1510 sym R (57761 sym/47 pcs) 10 img
Notes 360 Mar 1
Notes Mar 1 Harold Nelson 3/1/2021 Setup library(tidyverse) ## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.0 ── ## ✓ ggplot2 3.3.3 ✓ purrr 0.3.4 ## ✓ tibble 3.0.6 ✓ dplyr 1.0.4 ## ✓ tidyr 1.1.2 ✓ ...
757 sym R (2921 sym/18 pcs)
Notes 360 Feb 26
Setup library(tidyverse) ## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.0 ── ## ✓ ggplot2 3.3.3 ✓ purrr 0.3.4 ## ✓ tibble 3.0.6 ✓ dplyr 1.0.4 ## ✓ tidyr 1.1.2 ✓ stringr 1.4.0 ## ✓ readr 1.4.0 ...
1083 sym R (7481 sym/33 pcs) 6 img
Notes 360 Feb 24
Setup library(tidyverse) ## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.0 ── ## ✓ ggplot2 3.3.3 ✓ purrr 0.3.4 ## ✓ tibble 3.0.6 ✓ dplyr 1.0.4 ## ✓ tidyr 1.1.2 ✓ stringr 1.4.0 ## ✓ readr 1.4.0 ...
896 sym R (5187 sym/13 pcs)