Skip to main content
HomeR

Course

Unsupervised Learning in R

IntermediateSkill Level
4.7+
89 reviews
Updated 07/2024
This course provides an intro to clustering and dimensionality reduction in R from a machine learning perspective.
Start Course for Free
RMachine Learning4 hr16 videos49 Exercises3,600 XP54,756Statement of Accomplishment

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.

Loved by learners at thousands of companies

Group

Training 2 or more people?

Try DataCamp for Business

Course Description

Many times in machine learning, the goal is to find patterns in data without trying to make predictions. This is called unsupervised learning. One common use case of unsupervised learning is grouping consumers based on demographics and purchasing history to deploy targeted marketing campaigns. Another example is wanting to describe the unmeasured factors that most influence crime differences between cities. This course provides a basic introduction to clustering and dimensionality reduction in R from a machine learning perspective, so that you can get from data to insights as quickly as possible.

Prerequisites

Introduction to R
1

Unsupervised learning in R

The k-means algorithm is one common approach to clustering. Learn how the algorithm works under the hood, implement k-means clustering in R, visualize and interpret the results, and select the number of clusters when it's not known ahead of time. By the end of the chapter, you'll have applied k-means clustering to a fun "real-world" dataset!
Start Chapter
2

Hierarchical clustering

3

Dimensionality reduction with PCA

Principal component analysis, or PCA, is a common approach to dimensionality reduction. Learn exactly what PCA does, visualize the results of PCA with biplots and scree plots, and deal with practical issues such as centering and scaling the data before performing PCA.
Start Chapter
4

Putting it all together with a case study

The goal of this chapter is to guide you through a complete analysis using the unsupervised learning techniques covered in the first three chapters. You'll extend what you've learned by combining PCA as a preprocessing step to clustering using data that consist of measurements of cell nuclei of human breast masses.
Start Chapter
Unsupervised Learning in R
Course
Complete

Earn Statement of Accomplishment

Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review
Enroll Now

Don’t just take our word for it

*4.7
from 89 reviews
81%
15%
4%
0%
0%
  • EFE
    4 days ago

  • Delruba Mahmud
    last week

  • ran
    2 weeks ago

  • Yehor
    2 weeks ago

  • Peter
    3 weeks ago

  • Esther
    3 weeks ago

EFE

Delruba Mahmud

ran

FAQs

Is this course beginner-friendly for someone new to machine learning in R?

Yes. It only requires Introduction to R as a prerequisite and provides a gentle introduction to clustering and dimensionality reduction from a machine learning perspective.

What clustering methods are covered in this course?

You will learn k-means clustering, including how to select the number of clusters, and hierarchical clustering, including how to interpret dendrograms and compare the two methods.

Does the course cover principal component analysis (PCA)?

Yes. The final chapter introduces dimensionality reduction with PCA, showing you how to reduce complex datasets to their most important features for analysis.

What kind of real-world dataset is used in the exercises?

You will apply k-means clustering to a fun real-world dataset during the course, giving you practical experience beyond textbook examples.

How does unsupervised learning differ from supervised learning in practice?

Unsupervised learning finds hidden patterns without labeled outcomes. This course focuses on grouping similar observations and reducing data dimensions rather than predicting a target variable.

Join over 19 million learners and start Unsupervised Learning in R today!

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.

Grow your data skills with DataCamp for Mobile

Make progress on the go with our mobile courses and daily 5-minute coding challenges.