Session Ready
Exercise

A grid of points

In the video, you saw how it can be instructive to use a contour plot over a grid of points to see what the anomaly score might have been at locations other than where the data occurred.

In this exercise you'll create and visualize a grid of points across the region of interest. The grid you create will be used in the exercise that follows to visualize predicted isolation scores.

Instructions 1/3
undefined XP
  • 1
  • 2
  • 3
  • Use the seq() function to create a sequence of 25 values between the minimum and maximum values of the pH and alcohol variables in the wine data.