Skip to content
Prev 377857 / 398502 Next

extract hyperplan from e1071 model

Hi,

Please don't forget to copy R-help on your reply - other people are
likely to have more insight.

My understanding is that you want to replicate the shaded polygons
produced by plot.svm on your own plot. That's why I suggested you
first try add=TRUE, and if that doesn't work, then look at the code
for plot.svm so you can see how the predicted values are calculated on
a grid to be plotted. R is open source - you can extract the section
from that function that does what you want, and make your own code to
add it to another plot.

I have no idea what "the tutorial" is; I suggested two things you
could try based on the help and my understanding of R.

Sarah
On Thu, Dec 20, 2018 at 9:07 AM Luigi Marongiu <marongiu.luigi at gmail.com> wrote:

  
    
Message-ID: <CAM_vjum63bu3QuejJOm1oi7tZ-Uh=67eWmz=KfuQAmBDrU7wBw@mail.gmail.com>
In-Reply-To: <CAMk+s2R2FSXitJfzXPVmEauSfmDvgkiqFrGprcb6hhRU+HGj5g@mail.gmail.com>