Skip to main content

New Course: Unsupervised Learning in R

New machine learning course: "Unsupervised Learning in R", taught by Hank Roark. Start the first chapter for free!

Hi there - today we're launching a new machine learning course on Unsupervised Learning in R by Hank Roark!

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.


Start for free


Unsupervised Learning in R features interactive exercises that combine high-quality video, in-browser coding, and gamification for an engaging learning experience that will make you a master at machine learning in R!



What you'll learn:

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 first chapter, you'll have applied k-means clustering to a fun "real-world" dataset!

In chapter 2, you'll learn about hierarchical clustering which is another popular method for clustering. The goal of this chapter is to go over how it works, how to use it, and how it compares to k-means clustering.

Chapter 3 covers principal component analysis, or PCA, which 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.

The goal of the final 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.

About Hank Roark: Hank is a Senior Data Scientist at Boeing and a long time user of the R language. Prior to his current role, he led the Customer Data Science team at, a leading provider of machine learning and predictive analytics services.


Start course for free