Publications by Abdelmalek Hajjam/ Monu Chacko
DATA 624 Homework 3 - Time series decomposition
library(knitr) library(kableExtra) library(ggplot2) library(fpp2) library(seasonal) library(readxl) Question 6.2 The plastics data set consists of the monthly sales (in thousands) of product A for a plastics manufacturer for five years. Plot the time series of sales of product A. Can you identify seasonal fluctuations and/or a trend-cycle?...
1549 sym R (7262 sym/25 pcs) 12 img
DATA 624 Project 1
library("readxl") library("dplyr") library("tidyr") library("plotly") library("forecast") library("fpp2") library("lubridate") library("knitr") Part A – ATM Forecast Here we load the data and clean it up. This includes removing NA’s, putting correct data formats etc. atmdata <- read_xlsx("data/ATM624Data.xlsx") print(str(atmdata)) ##...
4989 sym R (19730 sym/106 pcs) 37 img 6 tbl
DATA 624 Homework 4
library(mlbench) library(psych) library(e1071) library(ggplot2) library(knitr) library(mlbench) library(reshape2) library(corrplot) library(caret) library(DMwR) library(GGally) Problem 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 on...
3572 sym R (16027 sym/49 pcs) 4 img 5 tbl
DATA 624 Homework 5
library(fma) library(forecast) library(kableExtra) library(corrplot) library(fpp2) library(plotly) library(gridExtra) library(readxl) library(seasonal) library(ggplot2) Question 7.1 Consider the pigs series — the number of pigs slaughtered in Victoria each month. Use the ses() function in R to find the optimal values of α and ι0, a...
4896 sym R (11375 sym/102 pcs) 16 img 1 tbl
DATA 624 Homework 6
Question 8.1 Figure 8.31 shows the ACFs for 36 random numbers, 360 random numbers, and 1,000 random numbers. Explain the differences among these figures. Do they all indicate that the data are white noise? Image Question 8.1 The above graph show us correlation between various lags of the series. It shows the ACFs for 36, 360 and 1000 random nu...
5174 sym R (6897 sym/81 pcs) 26 img
Data - 624 - Project 2
1 Project Problem Statement This is role playing. I am your new boss. I am in charge of production at ABC Beverage and you are a team of data scientists reporting to me. My leadership has told me that new regulations are requiring us to understand our manufacturing process, the predictive factors and be able to report to them our predictive model...
15930 sym R (38175 sym/116 pcs) 29 img 3 tbl
DATA 624 Homework 7
Problem 6.2 Developing a model to predict permeability (see Sect. 1.4) could save significant resources for a pharmaceutical company, while at the same time more rapidly identifying molecules that have a sufficient permeability to become a drug: library(caret) library(AppliedPredictiveModeling) library(tidyr) library(dplyr) library(e1071) li...
5841 sym R (4885 sym/28 pcs) 6 img 7 tbl
DATA 624 Homework 8
library(ggplot2) library(AppliedPredictiveModeling) library(magrittr) library(caret) library(tidyr) library(dplyr) library(knitr) library(kableExtra) library(mlbench) library(kernlab) library(lattice) library(earth) library(doParallel) registerDoParallel(cores=4) transparentTheme(trans = .4) Nonlinear Regression Models Exercise 7....
3001 sym R (17914 sym/48 pcs) 9 img 3 tbl
DATA 624 Homework 9
library(mlbench) library(caret) library(randomForest) library(dplyr) library(party) library(gbm) library(Cubist) library(AppliedPredictiveModeling) library(rpart) library(tibble) library(kableExtra) library(mice) library(vip) Problem 8.1 Recreate the simulated data from Exercise 7.2: set.seed(200) simulated <- mlbench.friedman1(200,...
4947 sym R (5081 sym/29 pcs) 6 img 5 tbl
DATA 624 Homework 10 - Market Basket Analysis
Imagine 10000 receipts sitting on your table. Each receipt represents a transaction with items that were purchased. The receipt is a representation of stuff that went into a customer’s basket - and therefore ‘Market Basket Analysis’. That is exactly what the Groceries Data Set contains: a collection of receipts with each line representing 1...
2043 sym R (12249 sym/20 pcs) 1 img 1 tbl