0

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

Tsyvarev
  • 60,011
  • 17
  • 110
  • 153

1 Answers1

0

Set 'OptimizeHyperparameters' as 'none' instead of 'auto'