I trt to train a pre-designed SVM with RBF kernel. I want to fix the C and gamma value before train. I use
Mdl = fitcsvm(Xapp,Yapp,'KernelFunction','rbf','KernelScale', 1,'BoxConstraint', 1,...);
But after training, the C(BoxConstraint) and gamma(KernelScale) are changed. How could I fix them?
There are two links show how could they change the parameters. But I don't know if they could fix them until train finished. 1 2
Set 'OptimizeHyperparameters' as 'none' instead of 'auto'