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
Run a simple SVM model
I run the decision model and knn model using the same layout,but the SVM model fail.
Tagged:
0
Answers
SVM algorithms cannot work on attributes with Nominal (Categorical) variables. They only work on numerical data. In case of nominal, you can convert them to numerical using "nominal to numerical" and run SVM. I am not sure about your data properties so I cannot comment if it is a good idea to convert nominal attributes to numerical.
Hope this helps.
Regards
Varun
Varun
https://www.varunmandalapu.com/
Be Safe. Follow precautions and Maintain Social Distancing
My data is number.
I read it on hive. If the reason is the name of table?
Please export your process (.rmp file) using FILE --> Export Process from rapidminer and attach your dataset file (Excel, CSV etc.) and the exported process in this thread? It will help us to check and inform more details.
Varun
https://www.varunmandalapu.com/
Be Safe. Follow precautions and Maintain Social Distancing
Thanks for attaching the files. I checked your data in RM and can confirm that all columns are numbers. The new error I saw is related to the label (output) column Y. This iY column is also read as a numeric value. As you are trying to do a classification problem (based on SVM kernel type) I added numerical to nominal operator that converts the numerical Y column into nominal. Now the process works.
Import the attached process into your RM by using FILE --> Import process and attach your dataset and run it.
Hope this helps. Let us know if you need more information.
Varun
https://www.varunmandalapu.com/
Be Safe. Follow precautions and Maintain Social Distancing
I change "Y" to "y" in Set Role when it send error. But the NtP send error.
Varun
https://www.varunmandalapu.com/
Be Safe. Follow precautions and Maintain Social Distancing