Articles by Zahier Nasrudin

Time Series Clustering in R

July 3, 2024 | Zahier Nasrudin

Introduction Purpose of the tutorial: To demonstrate a quick and straightforward implementation of time series clustering using the widyr package in R What is time series clustering?: Grouping time series data into clusters where data points i...
[Read more...]

From R to excel: Part 1

January 2, 2024 | Zahier Nasrudin

Introduction Welcome welcome. In this blog post, we will be exploring: How to export multiple data frames into a single Excel file with multiple sheets using the writexl and openxlsx packages By the end of this post, you & I should have a solid understanding of how to export multiple data ...
[Read more...]

Classification: Handling class imbalance (Adult income dataset)

August 17, 2023 | Zahier Nasrudin

Objective(s) To predict whether an individual’s annual income exceeds 50k or less (classification). To handle class imbalance. Data Understanding Description Based on the website: Extraction was done by Barry Becker from the 1994 Census database. A set of reasonably clean records was extracted using the following conditions: ((AAGE__16) && (AGI__100) && (...
[Read more...]

From excel to R: Part 1

March 7, 2023 | Zahier Nasrudin

Contents Load library Define path Reading all sheets Mixed date formats Welcome welcome. In this blog post, we will be exploring: How to efficiently read data from multiple sheets in an Excel workbook and combine them into a si... [Read more...]

APS Failure at Scania Trucks

January 18, 2023 | Zahier Nasrudin

Contents Load library Load dataset Description Data exploration Modelling Summary Load library Show code library(tidyverse) library(tidymodels) library(scales) library(themis) Load dataset To begin the analysis, we will be accessing the training and testing datasets for the APS Failure at Scania Trucks project. These datasets are available on ...
[Read more...]

APS Failure at Scania Trucks

January 14, 2023 | Zahier Nasrudin



Load library


Code
library(tidyverse)
library(tidymodels)
library(scales)
library(themis)




Load dataset
To begin the analysis, we will be accessing the training and testing datasets for the APS Failure at Scania Trucks project. These datasets are available on the UCI Machine Learning Repository at the following link: https://...
[Read more...]

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)