Support Vector Regression not handling nominal attributes
Hello everyone
I have a mostly categorical data except for some attributes icluding the target variable (numerical). I a trying to apply Support Vector Machine on it for a prediction task.
It would be too easy to just apply the operator Nominal to Numerical directly.
I tried the Auto Model to get inspiration from it, but I couldn't really follow what it was doing.
A little help in this would be much appreciated.
Thank you in advance!

I have a mostly categorical data except for some attributes icluding the target variable (numerical). I a trying to apply Support Vector Machine on it for a prediction task.
It would be too easy to just apply the operator Nominal to Numerical directly.
I tried the Auto Model to get inspiration from it, but I couldn't really follow what it was doing.
A little help in this would be much appreciated.
Thank you in advance!
Find more posts tagged with
Sort by:
1 - 7 of
71
Ehm, why don't you use Nominal to Numerical?
Nominal to Numerical is definitely the way to go, and the dummy coding method should be appropriate for SVM. Did you use integer coding by chance instead? That is usually not the correct way to do it if the underlying nominals are not ordinal/scalar. Maybe you could post process or data samples for further diagnosis.
Hi @islem_h,
To share your process (in order we can execute it) :
To share your process (in order we can execute it) :
Note: This solution requires the "XML" panel which can be opened in the "View" menu and then "Show Panel". Activate the XML panel if you did not do this before.
Open your process in RapidMiner and open the XML panel. If you can't find it, make sure to follow the note above.
Copy the XML code from there and paste it somewhere else, for example into a forum post here on the community portal. By the way, if you post your XML here, please use the code environment which you get by clicking on the icon Code in the toolbar of the post.
Can you share your dataset(s) too ?
Regards,
Lionel