Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Machine Learning in R - Repurpose Machine Learning Code for New Data

Data Professor via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn how to repurpose machine learning code in R for new datasets in this comprehensive tutorial video. Explore the process of adapting existing R code to model a new dataset, specifically focusing on the DHFR (dihydrofolate reductase) data. Follow along as the instructor guides you through launching RStudio, loading and exploring the DHFR dataset, performing summary statistics, creating visualizations, and building a classification model. Gain practical skills in data understanding, feature analysis, and model building while learning how to effectively reuse and modify R code for different datasets.

Syllabus

Launch RStudio or RStudio.cloud
Open iris-data-understanding.R file
Create a copy of iris-data-understanding.R
Save as dhfr-data-understanding.R
What is DHFR?
Load in DHFR data, type: librarydatasets and then datadhfr
Perform summary statistics
Use skimr package to explore the data
Make a scatter plot
Make a histogram
Make feature plots
Let's build the DHFR classification model
Load in the libraries
Set the seed for reproducibility
Build the training and CV models
Let's look at prediction results
Let's make Feature importance plots

Taught by

Data Professor

Reviews

Start your review of Machine Learning in R - Repurpose Machine Learning Code for New Data

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.