Hi,
I have a problem with SVM in matlab, I use fitcecoc for multi classification im matlab, when I use linear kernel it works good, but when I use 'rpf' kernel all data classified into one class.
Where is the problem?
Best
Dear Huthaifa
SVM classifier when is used with RBF kernel is very sensitive to the kernel parameters, i.e. the kernel parameters must be finely tuned.
When using Matlab built-in SVM model trainer (fitcecoc), it can set the parameters automatically if it is said to. For example:
I have attached a full example, too.
I hope it helps.
Fardin
Dear Fardin,
Thank you very much for your help, your code works fine and it is really helpful.
May I ask you how can I find the best C and sigma for my model??
And how can I give the fitcecoc this parameters (C and sigma).
Best,
Huthaifa
11 December 2016 4,925 1 View
09 October 2015 4,464 4 View
Hiiiii everyone! I have an enquiry on statistical analysis. I was looking for many forum and it's still cannot solve my problem. I want to compare means of two groups of data but only with two...
03 March 2021 8,796 3 View
What Characteristics makes CNN work better?
03 March 2021 1,458 4 View
i would to know some of the research gaps in the artificial intelligence field in most african countries.
03 March 2021 6,145 3 View
What's the best way to measure growth rates in House sparrow chicks from day 2 to day 10? Since, the growth curve from day 2 to 10 won't be like the "Logistic curve" it might not follow logistic...
03 March 2021 1,401 3 View
i am try to classify the x-ray images. During classification , can i block unwanted images (except x-ray image).
03 March 2021 7,100 1 View
dear community, my model is based feature extraction from non stationary signals using discrete Wavelet Transform and then using statistical features then machine learning classifiers in order to...
03 March 2021 6,994 5 View
1. What is the impact of having different scales in a survey? and how can we solve this problem before and after data collection (Literature-based reflection)? Thank you for your time and for...
03 March 2021 2,870 3 View
I'm dealing with a mediation model and am using the PROCESS module in SPSS. Due to SPSS and PROCESS being limited in the imputation methods - being unable to handle multiple imputation - the other...
02 March 2021 4,362 1 View
The range of forms and sizes of cavities in rock is very big. Is there a classification scheme for rock cavities regarding their size and shape?
02 March 2021 4,511 3 View
Do you have some recommendations approaches on Image processing and classification of plant diseases using TensorFlow/Keras?
02 March 2021 1,493 4 View