How can I use fitcsvm and pass parameters to a custom kernel?
古いコメントを表示
How can I use fitcsvm and pass parameters to a custom kernel?
I currently use svmtrain and svmclassify with custom kernels that take parameters. However, I need to use fitcsvm for some of the new functionality it offers.
The fitcsvm example with a custom kernel hard codes the parameter, rather than passing it. This is insufficient for my requirements.
KernelParameters is a read-only structure that is output from fitcsvm, it is not an input.
The only parameter that can be passed into a kernel, is PolynomialOrder, which is only allowed for the polynomial kernel (otherwise fitcsvm returns an error).
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Univariate Discrete Distributions についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!