Publications by Frederick Morris Jones
HW1 Business Data Analytics
Load the required library library(ggplot2) ## Warning: package 'ggplot2' was built under R version 4.3.3 library(tidyverse) ## Warning: package 'tidyverse' was built under R version 4.3.3 ## Warning: package 'tidyr' was built under R version 4.3.3 ## Warning: package 'dplyr' was built under R version 4.3.3 ## ── Attaching core tidyverse package...
2695 sym R (27847 sym/49 pcs) 3 img
HW 2 Data 621
2. Load the dataset and save it to an object df which stands for dataframe df <- read.csv("classification-output-data.csv") head(df) Confusion matrix using table() function class <- df$class prd_cls <- df$scored.class table(prd_cls, class) ## class ## prd_cls 0 1 ## 0 119 30 ## 1 5 27 It can be seen that there are 30+27 ...
3526 sym R (8176 sym/47 pcs) 3 img
Week 1 Data 621
# First dataset: teengamb library(faraway) ## Warning: package 'faraway' was built under R version 4.3.2 data("teengamb") # Displaying initial data summary head(teengamb) ## sex status income verbal gamble ## 1 1 51 2.00 8 0.0 ## 2 1 28 2.50 8 0.0 ## 3 1 37 2.00 6 0.0 ## 4 1 28 7.00 ...
122 sym R (13200 sym/81 pcs) 38 img
Business Analytics and Data Mining Homework #1 Assignment Requirements
Load the required library library(ggplot2) library(tidyverse) ## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ── ## ✔ dplyr 1.1.4 ✔ readr 2.1.5 ## ✔ forcats 1.0.0 ✔ stringr 1.5.1 ## ✔ lubridate 1.9.3 ✔ tibble 3.2.1 ## ✔ ...
2663 sym R (27155 sym/44 pcs) 3 img
HW 5 Week 6
load the library fpp3 library(fpp3) ## ── Attaching packages ────────────────────────────────────────────── fpp3 0.5 ── ## ✔ tibble 3.2.1 ✔ tsibble 1.1.4 ## ✔ dplyr 1.1.4 ✔ tsibbledata 0.4.1 ## ✔ tidyr 1.3.1 ...
5493 sym R (9158 sym/54 pcs) 16 img
HW4 Week 5
Exercise 3.1. The UC Irvine Machine Learning Repository6 contains a data set related to glass identification. The data consist of 214 glass samples labeled as one of seven class categories. There are nine predictors, including the refractive index and percentages of eight elements: Na, Mg, Al, Si, K, Ca, Ba, and Fe. Load the dataset library(ml...
3525 sym R (26901 sym/27 pcs) 10 img
Data 624 Homework Week 4
library(fpp3) ## ── Attaching packages ────────────────────────────────────────────── fpp3 0.5 ── ## ✔ tibble 3.2.1 ✔ tsibble 1.1.4 ## ✔ dplyr 1.1.3 ✔ tsibbledata 0.4.1 ## ✔ tidyr 1.3.0 ✔ feasts 0.3...
3639 sym R (6546 sym/52 pcs) 21 img
Data 608 R Programming Homework 2
Load the required libraries library(ggplot2) library(tidyverse) ## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ── ## ✔ dplyr 1.1.3 ✔ readr 2.1.4 ## ✔ forcats 1.0.0 ✔ stringr 1.5.0 ## ✔ lubridate 1.9.3 ✔ tibble 3.2.1 ...
1201 sym R (4853 sym/19 pcs) 3 img
HW Data 624 Time Series Decomposition
3.1 Consider the GDP information in global_economy. Plot the GDP per capita for each country over time. Which country has the highest GDP per capita? How has this changed over time? library(fpp3) ## ── Attaching packages ─────────────────────────────────────────...
6681 sym R (5959 sym/38 pcs) 19 img
"HW Data 624 Time Series Graphics"
Exercise 2.1 Explore the following four time series: Bricks from aus_production, Lynx from pelt, Close from gafa_stock, Demand from vic_elec. Use ? (or help()) to find out about the about the data in each series. What is the time interval of each series? Use autoplot() to produce a time plot of each series. For the last plot, modify the axis...
4139 sym R (7053 sym/76 pcs) 31 img