Generated C code of SVM algorithm not accurate

1 次查看(过去 30 天)
Hello,
I have created an SVM-Linear kernel algorithm script on MATLAB for classification of my data. The training gives 98% of validation accuracy and also the prediction for the new data is almost accurate everytime on MATLAB. I have generated C code of the trained model using MATLAB coder for an ARM cortex M4 controller and successfully implemented it. The problem now is the classification result for the new data on the microcontroller as stand-alone is not so accurate as on PC (MATLAB). It predicts the wrong class most of the times. I wonder what the reasons might be. Please help. Thanks.
Regards,
Nikhil
  1 个评论
Sachin Sharma
Sachin Sharma 2022-9-23
Hi, I am also facing the same issues. Did you got the solution for this?
With Regards
Sachin Sharma

请先登录,再进行评论。

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by