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

조회 수: 3 (최근 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 CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

태그

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by