Publications by Tay Shi Hui (17170153), Lim Jia Qi (17134267), Soo Kar Lok (S2000961), Izzati Farzana Othman (S2127549), Zhao ZiKun (17193835)

Programming Project

20.01.2022

Title of the project Predicting the Age of Abalone using Classification and Regression Models Introduction Predicting the age of abalone is possible through physical measurements. The abalone add one ring to their shell every year, except in their first year. Theoretically, the age of abalone can be accurately estimated by adding 1.5 to the numb...

6886 sym R (21014 sym/101 pcs) 19 img

week 10 - lab

31.12.2021

Lab-Week10 Soo Kar Lok 2021-12-31 Load the dataset and appropriate packages library(caret) ## Warning: package 'caret' was built under R version 4.1.2 ## Loading required package: ggplot2 ## Warning: package 'ggplot2' was built under R version 4.1.2 ## Loading required package: lattice ## Warning: package 'lattice' was built under R version 4.1....

604 sym R (5221 sym/29 pcs) 1 img

Week7-lab

06.12.2021

Lab-Week7 Soo Kar Lok 2021-11-30 Question 1 Function to view the iris dataset library(dplyr) ## Warning: package 'dplyr' was built under R version 4.1.2 ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:stats': ## ## filter, lag ## The following objects are masked from 'package:base': ## ## inters...

472 sym R (46098 sym/17 pcs)

Tutorial 5 - PDS

22.11.2021

Tutorial 5 - EDA Soo Kar Lok 2021-11-22 Question 1 Function to view the ‘attitude’ dataset data(attitude) str(attitude) ## 'data.frame': 30 obs. of 7 variables: ## $ rating : num 43 63 71 61 81 43 58 71 72 67 ... ## $ complaints: num 51 64 70 63 78 55 67 75 82 61 ... ## $ privileges: num 30 51 68 45 56 49 42 50 72 45 ... ##...

1273 sym R (11632 sym/49 pcs) 2 img

Lab - Week5

18.11.2021

Lab-Week5 Soo Kar Lok 2021-11-18 Question 1 Read file marks1.csv dataset <- read.csv("marks1.csv") dataset ## X X.1 test asgn Prsnt Final q1 q2 q3 q4 ## 1 60001 Ahmad 15 14 17 13 0.0 9 2 4.0 ## 2 60003 Abu 26 13 18 22 3.0 5 8 6.0 ## 3 60006 Samy 21 15 19 25 6.0 7 4 8.0 ## 4 60008...

768 sym R (5971 sym/20 pcs)

Web Scraping

10.11.2021

Web Scraping using R Soo Kar Lok 2021-11-10 #loading the package: library(xml2) library(rvest) library(stringr) #Specifying the url for desired website to be scrapped url <- 'https://www.amazon.sg/Sony-ILCEM3K-Full-frame-Mirrorless-Interchangeable-Lens/dp/B07B45D8WV/ref=sr_1_1?keywords=camera&qid=1636541556&sr=8-1' #Reading the html conte...

88 sym R (3775 sym/18 pcs)

Lab - Soo Kar Lok (s2000961)

08.11.2021

Lab-Week3 Soo Kar Lok 2021-11-08 Question 1 Write a R program to count number of objects in a given list? list_data <- list( c(" Red "," Green "," Black "),list(" Python ", " PHP ", " Java ")) print(" List:") ## [1] " List:" print( list_data ) ## [[1]] ## [1] " Red " " Green " " Black " ## ## [[2]] ## [[2]][[1]] ## [1] " Python " ## ...

1028 sym R (3211 sym/64 pcs)

Lab4

11.11.2021

Lab-Week4 Soo Kar Lok 2021-11-11 Question 1 Function to view the mtcars dataset data(mtcars) mtcars ## mpg cyl disp hp drat wt qsec vs am gear carb ## Mazda RX4 21.0 6 160.0 110 3.90 2.620 16.46 0 1 4 4 ## Mazda RX4 Wag 21.0 6 160.0 110 3.90 2.875 17.02 0 1 4 4 ## Datsun 710 ...

643 sym R (11304 sym/40 pcs)

AlternativeAssessment

09.01.2022

Alternative Assessment Soo Kar Lok 2022-01-09 Load the dataset and appropriate packages Dataset Description Dataset > IBM HR Analytics Employee Attrition & Performance This is a fictional data set created by IBM data scientists. Uncover the factors that lead to employee attrition and explore important questions such as ‘show me a breakdown of...

2685 sym R (57282 sym/193 pcs) 38 img