RapidMiner 9.7 is Now Available

Lots of amazing new improvements including true version control! Learn more about what's new here.

CLICK HERE TO DOWNLOAD

How to set C, g, and epsilon for SVM?

JoanneyuJoanneyu Member Posts: 13 Contributor I
Hi, 
I am trying to look for an optimal value for C, g, and epsilon for SVM. 
I am using "optimize parameter (evolutionary)", but I wonder why the window is empty when I clicked "edit parameter settings".
I am really new to this process and I am actually not sure what the input data should be...
I'd appreciate if you can provide me some hints! Thank you!


Jasmine_

Best Answer

Answers

  • varunm1varunm1 Moderator, Member Posts: 1,203   Unicorn
    Hello @Joanneyu

    Did you create the sub-process inside "Optimize parameter (evolutionary)"? 

    If not, you should have a sub-process with your required model and performance inside this operator. I attached a .rmp file in this thread for your reference. Please look at the subprocess by double-clicking the Optimize parameter evolutionary operator. I used cross-validation, you can use split or any other validation your need inside this to reduce run time.

    If you observe the edit parameter list, I selected "C" to be optimized for SVM. You can select whatever you need based on your requirements.

    To see the attached process in your Rapidminer, download this and in your rapidminer studio go to FILE --> Import Process and navigate to the downloaded process (.rmp file).

    Note: You can only select the range when you use the optimize parameter (evolutionary operator). If you want to try specific values, you can use "Optimize parameter (Grid)".

    Please let us know if you need more information.
    Regards,
    Varun
    https://www.varunmandalapu.com/

    Be Safe. Follow precautions and Maintain Social Distancing

    Jasmine_rfuentealba
  • JoanneyuJoanneyu Member Posts: 13 Contributor I
    Hi @varunm1
    Thank you so much for the detailed info! Few more questions...

    1. It seems that once I clicked "start the execution", nothing happened from the process?
    2. I wonder what type of data set I should use in this case? I tried to import my excel file and linked it with the process, but several warnings pop up. My data are all numerical, with 12 attributes and 1 factor for prediction. 
    Jasmine_
  • JoanneyuJoanneyu Member Posts: 13 Contributor I
    hello @varunm1,
    Thanks for the reply! Right I see. The 12 attributes are read as real. I do not see "numeric" in the change data type though... 
    I am solving regression. Based on your process, do I just simply remove the "nominal to numerical"? I am not sure if I am doing it correctly... after that, there is a warning saying that input excemple set must have label
    Thank you!

     
    Jasmine_
  • varunm1varunm1 Moderator, Member Posts: 1,203   Unicorn
    Hello @Joanneyu

    Yes, you can remove that. You need to set label using "set role" operator. Label is your output variable. You should also change the performance operator inside optimize parameter to performance regression.

    I strongly recommend you to check some videos on academy.rapidminer.com that will help you understand the process.
    Regards,
    Varun
    https://www.varunmandalapu.com/

    Be Safe. Follow precautions and Maintain Social Distancing

    Jasmine_
Sign In or Register to comment.