Anomaly contours
You now have the key ingredients to produce a contour plot, which is a powerful tool for viewing how the anomaly score varies across the region spanned by the data points.
The wine_grid data from the previous exercise has been preloaded for you to use.
यह अभ्यास पाठ्यक्रम का हिस्सा है
Introduction to Anomaly Detection in R
अभ्यास निर्देश
- Use the
contourplot()function to generate a contour plot of thescore. - Ensure that the
pHvariable is shown on the y-axis andalcoholon the x-axis.
इंटरैक्टिव व्यावहारिक अभ्यास
इस अभ्यास को इस नमूना कोड को पूरा करके आज़माएँ।
# Contour plot of isolation scores
contourplot(score ~ ___ + ___, ___, region = TRUE)