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

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…

Contents