From the course: Machine Learning with Data Reduction in Excel, R, and Power BI
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Solution: Clustering
From the course: Machine Learning with Data Reduction in Excel, R, and Power BI
Solution: Clustering
(upbeat music) - [Instructor] I'm going to pick up the challenge problem where we left off with the solution at the end of chapter one. If you open the exercise files for this video, you'll see the existing code to create the Miami data frame variable consolidated by month that we're going to continue to expand upon. Let's first plot the points in our Miami aggregated visual and we'll put the middle temperatures on the Y axis and PRCP on the X axis, then we'll set our data equal to Miami. I'm just going to check the names. So we make sure we have middle temperature, remove the S. Let's scale the precipitation, so it's proportioned appropriately compared to the temperatures on the Y axis. I'm going to add or reassign the Miami precipitation numbers based on the existing field in the Miami data frame. I'm going to multiply it by 365.25 and then I'm actually going to multiply this by 0.25. Let's see how this looks and…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
(Locked)
Calculating distances7m 50s
-
(Locked)
Hierarchical clustering9m 6s
-
Heatmaps and dendrograms6m 30s
-
(Locked)
K-means clustering in one dimension9m 55s
-
(Locked)
K-means clustering in two dimensions5m 37s
-
(Locked)
Determining k9m 8s
-
(Locked)
Challenge: Clustering44s
-
(Locked)
Solution: Clustering8m 57s
-
(Locked)
-
-
-
-