"SVM Models - Target Variable with more than two levels"
I have a data mining problem in which there are four levels in the target variable. I have used a SVM model in Statistica that works very well for my data - and supports the four level target variable. I am just starting out with Rapid Miner, and it looks like all the SVM models in Rapid Miner only support binary target variables. Is that the case? I think the libSVM implementation supports more than two levels (that is what Statistica uses) - but the description of this SVM implementation in Rapid Miner still seems to say that it only supports binary target variables. If this capability is not available now, is it planned for the future?
David
David
Find more posts tagged with
Sort by:
1 - 5 of
51
I don't think so - this is what I got when I tried to run a dataset with a four level target variable. I used the SVM libSVM option.
Apr 16, 2013 8:11:21 PM SEVERE: Process failed: The operator SVM does not have sufficient capabilities for the given data set: polynominal attributes not supported
David
Apr 16, 2013 8:11:21 PM SEVERE: Process failed: The operator SVM does not have sufficient capabilities for the given data set: polynominal attributes not supported
David
I got that message on my home PC with 16GB of RAM (the process was using 12GB of RAM). On my work laptop (with 4GB) I can't even read in the data without running out of memory. It looks to me like the system is trying to keep everything in memory. This is not a big dataset - 9100 observations and 423 variables - so that is surprising. The original data is in SAS, but the SAS import step fails (I have reported the bug) - I had to save it as an excel file to get Rapid-I to read it.
I think I am getting way ahead of myself here - I am new to Rapid-I and I need to start with some simpler examples. I just got the "Data Mining for the Masses" (Matthew North) book, and will work through the examples in that book to get started.
David
I think I am getting way ahead of myself here - I am new to Rapid-I and I need to start with some simpler examples. I just got the "Data Mining for the Masses" (Matthew North) book, and will work through the examples in that book to get started.
David
Select the SVM process, right click and choose Breakpoint Before (shift F7).
Run the process.
Go to the meta data view.
What are the roles and types of each of the attributes?
One should have the label role and should be type nominal.
All the remaining regular attributes must be numeric, integer or real.
If this checks out, LibSVM will work
As for the SAS import issue, how big is the raw data file?
regards
Andrew
Run the process.
Go to the meta data view.
What are the roles and types of each of the attributes?
One should have the label role and should be type nominal.
All the remaining regular attributes must be numeric, integer or real.
If this checks out, LibSVM will work
As for the SAS import issue, how big is the raw data file?
regards
Andrew
It works fine with labels that have multiple nominal values.
Here's an example using the Iris data set
regards
Andrew