Publications by Mohamed Hassan-El Serafi
Data 621 Homework 1 - Moneyball Project
Introduction In professional sports, attaining the most amount of wins in a season is the ultimate goal. Player and team statistics are commonly used to project and predict the number of wins for an upcoming season. In this analysis, we will use team statistics from every Major League Baseball team from 1871 to 2006 to predict the number of wins fo...
6370 sym R (27632 sym/128 pcs) 28 img 11 tbl
Data 624 Homework 4
Business Focus In the National Basketball Association, projecting the appropriate amount of money to invest in players is important when building a team. Knowing the average salary of players at each position, as well as understanding a player’s value based on their versatility, can give us clarity about how much resources we should invest. We wi...
11134 sym R (22286 sym/72 pcs) 11 img 6 tbl
Data 624 Project 2
Predicting the PH Of Beverages Predicting the PH Of Beverages Introduction: Goal: Data Acquisition and Exploration: Loading The Dataset: Data Exploration: Pre-processing Dataset: Features Selection: Correlation Among Features: Model Development And Evaluation: Splitting The Data: Evaluation: ...
20550 sym 4 img 2 tbl
Data 622 Homework 3
library(tidyverse) library(knitr) library(rattle) library(rpart.plot) library(RColorBrewer) library(kableExtra) library(reactable) library(caret) library(car) library(vtable) library(outliers) #library(rstatix) library(GGally) library(fixr) library(rpart) library(randomForest) #library(MASS) library(rsample) library(tidymodels) library(visdat) libr...
7735 sym R (40790 sym/143 pcs) 27 img 6 tbl
Data 624 Homework 10 - Market Basket Analysis
library(tidyverse) library(arules) library(kableExtra) library(igraph) library(stats) library(cluster) library(factoextra) library(reactable) library(arulesViz) library(NbClust) 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...
1939 sym R (8936 sym/37 pcs) 10 img
Data 624 Homework 9
library(tidyverse) library(randomForest) library(caret) library(mlbench) library(rpart) library(rpart.plot) library(party) library(randomForest) library(gbm) library(Cubist) library(ipred) library(partykit) library(kableExtra) 8.1. Recreate the simulated data from Exercise 7.2: library(mlbench) set.seed(200) simulated <- mlbench.friedman1(200, sd ...
7943 sym R (10486 sym/48 pcs) 7 img 1 tbl
Data 624 Homework 8
library(caret) library(tidyverse) library(earth) library(kableExtra) library(nnet) library(kernlab) library(corrplot) 7.2. Friedman (1991) introduced several benchmark data sets create by simulation. One of these simulations used the following nonlinear equation to create data: \(y = 10 sin(πx1x2) + 20(x3 − 0.5)2 + 10x4 + 5x5 + N(0, σ2)\) wher...
3532 sym R (28092 sym/82 pcs) 20 img 3 tbl
Data 622 Homework 2
library(tidyverse) library(knitr) library(kableExtra) library(reactable) library(caret) library(car) library(vtable) library(outliers) #library(rstatix) library(GGally) library(fixr) library(rpart) library(randomForest) #library(MASS) library(rsample) library(tidymodels) library(visdat) library(rattle) library(rpart.plot) library(RColorBrewer) libr...
3934 sym R (21193 sym/82 pcs) 12 img 2 tbl
Data 624 Homework 7
library(tidyverse) library(reactable) library(caret) library(pls) library(elasticnet) library(glmnet) library(modelsummary) library(Metrics) library(kableExtra) library(corrplot) 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 identif...
4899 sym R (9903 sym/37 pcs) 4 img 9 tbl
Data 624 Project 1
library(tidyverse) library(fpp3) library(tseries) library(forecast) library(kableExtra) library(reactable) library(seasonal) library(tsibble) library(openxlsx) library(readxl) library(mice) library(caret) library(zoo) library(lubridate) library(imputeTS) library(naniar) library(timeplyr) library(rstatix) library(timetk) set.seed(1234) Project 1 P...
8515 sym R (18489 sym/105 pcs) 26 img 1 tbl