For your assignment you may be using different dataset than what is included here.
Always read carefully the instructions on Sakai.
Tasks/questions to be completed/answered are highlighted in larger bolded fonts and numbered according to the task section.
We are going to use tidyverse a collection of R packages designed for data science. All packages share an underlying design philosophy, grammar, and data structures.
## Loading required package: tidyverse
## ── Attaching packages ────────────────────────── tidyverse 1.2.1 ──
## ✔ ggplot2 2.2.1 ✔ purrr 0.2.4
## ✔ tibble 1.4.1 ✔ dplyr 0.7.4
## ✔ tidyr 0.7.2 ✔ stringr 1.2.0
## ✔ readr 1.1.1 ✔ forcats 0.2.0
## ── Conflicts ───────────────────────────── tidyverse_conflicts() ──
## ✖ dplyr::filter() masks stats::filter()
## ✖ dplyr::lag() masks stats::lag()
To extract the features (columns) from the dataset, use the name of the dataset follow by ‘$’ sign and the name the specific column.
Extract the first feature (column)
#Extracting the Checking Column
#Calling the Checking Column
Now, use the same procedure to extract the other feature
#Extracting the feature (column)
#Calling the feature (column)
# Calculate the feature averate
# Inspect the variable with the calculated mean
Repeat the same procedure for the other feature
# Calculate the feature averate
# Inspect the variable with the calculated mean
Compute the standard deviation for the first feature
#Computing the standard deviation
# Inspect the variable with the calculated sd
Compute the standard deviation for the second feature
# Calculate the feature standard deviation
# Inspect the variable with the calculated standard deviation
#Compute the snr of Checking and name it snr_Checking (meanChecking/spreadChecking)
#Call snr_Checking
# Find the SNR of the second feature
# Inspect the variable with the calculated SNR
Below is an example of what the simple star relational schema should look like.
Example of how to create an start schema using erdplus
Example of how to export the final start schema on erdplus
Completed Star Schema Example
Here we are going to familiarize with watson analytics, you should have access to the portal below. https://watson.analytics.ibmcloud.com