フィルターのクリア

How do I move a SVM model from Matlab to VBA?

2 ビュー (過去 30 日間)
Atique Malik
Atique Malik 2020 年 3 月 6 日
コメント済み: Atique Malik 2020 年 4 月 4 日
I have a fitted model for SVM Gaussian regression. I have derived that or obtained that from the Stats and Machine Learning Toolbox. I now want to deply that in VBA on my machine, and demo the model to fellow engineers. I can't seem to locate teh form of teh equation and coefficients. I know what a Gaussian kernel is and all that, but where are the coefficients? Thanks for your help

採用された回答

Sourabh Kondapaka
Sourabh Kondapaka 2020 年 3 月 24 日
編集済み: Sourabh Kondapaka 2020 年 3 月 24 日
To extract Weight_Vector from SVM Model :
Weight_vector = SVMModel.Alpha' * SVMModel.SupportVectors;
% To extract Bias Value from SVM Model
Bias = SVMModel.Bias;
% Now to write these into a file
writematrix(Weight_vector, weight_vector.csv);
writematrix(Bias, bias.csv);
Refer the following link for “writematrix()” function
  1 件のコメント
Atique Malik
Atique Malik 2020 年 4 月 4 日
Thank you. Is the exact form of the SVM equation defined in some readily available text? I am familiar with the math behind RBF and general NN and so I would like to follow this up.
Regards
Atique

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeData Import from MATLAB についてさらに検索

タグ

製品


リリース

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by