asb: head /dev/brain > /dev/www

My home, musings, and wanderings on the world wide web.

EDA: Plotting non linear decision boundaries in R

So continuing with the beautiful plots in ISLR, here is a discussion I had on SO today about hot to plot decision boundaries or arbitrary non-linear curves. The discussion on SE that was linked to in the answer was even more useful. Plus, I picked up two new functions today: curve and contour.