The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
How to visualise and interpret Kernel Model SVM?
hi,
I have seen there is a chart option for LibSVM Kernel Model, but I have difficulties to understand of what use the visualisation has, or how to interpret the model...
I don't know how to use the visualization and therefore I have no idea how to interpret any signs... is the chart model of any use? e.g. can I visualise the decision boundary in some way?
e.g the number of support vectors is given, but how can I relate them to the classes or similar?
can somebody help me in how to interpret that chart?
Tagged:
0
Answers
I think the best person to explain SVM's in RapidMiner would be @IngoRM
Sure, the Master of SVM to the rescue :smileytongue:
First of all: There is indeed not a lot use of those charts. For low dimensional data sets, however, you can try and visualize decision boundaries by plotting the function values in the data dimensions. But you can actually get the same effect by just applying the model to the training data and visualize that one. The only advantage of doing this in the model is that you can also overlay the data points which became support vectors vs. not. But since there is typically no surprises there (since data points close to the boundaries always become support vectors...) the use is somewhat, well, limited. But for education purposes it sometimes can be helpful to show things like this...
Hope this helps (a bit),
Ingo
ok thanks, I already thought something similar,
my second question is: is there any tool out there maybe that can do something like visualiszing the decision boundaries of the libSVM? (or other SVM)? I have seen many complex SVM boundaries already online, but I don't know if it works also with higher dimensional data (like 6 or 7 dimensions)...
but there must be some program that is able to plot decision boundaries I think, maybe there is a R extension?
Hi,
There is not a lot of options in general. The basic idea is to use a dimensionality reduction technique like Self-Organizing Maps (SOM) or Singular Value Decomposition (SVD) to reduce the number of dimensions to 2 and show the decision frontiers in this new space. But of course then you can no longer really interpret those results easily so I always wonder a bit what actually the point of this approach is...
Anyway, you can do this in RM with the operator "Visualize Model by SOM". Below is a quick sample process. Press the "Calculate" button in the model visualization and you can also set the point color to "label".
Cheers,
Ingo
thanks probably still better than nothing...
is it somehow possible to plot this in 3D Space? like in a scatterplot 3D but with decision boundary?