Clear Filters
Clear Filters

Error in project code image processing

1 view (last 30 days)
I have a project which i was working on but i was getting errors while classifying and evaluating the accuracy.
matlab files are attatched and dataset image is also attatched.
% --- Executes on button press in pushbutton6.
function pushbutton6_Callback(hObject, ~, handles)
test = handles.ImgData3;
Affect = handles.ImgData4;
% Load All The Features
load('Training_Data.mat')
% Put the test features into variable 'test'
result = multisvm(Train_Feat,Train_Label,test);
  2 Comments
KALYAN ACHARJYA
KALYAN ACHARJYA on 15 Mar 2021
Be specific, if you want help, then you need to make it easy to be helped.
krishna vamsi narla
krishna vamsi narla on 15 Mar 2021
This was the error I was getting..please help me find the solution. .m files are attache dabove

Sign in to comment.

Accepted Answer

DGM
DGM on 16 Mar 2021
I'm not familiar with your project, but the error message seems to mean exactly what it says. Your gui is calling fitcsvm() with the key-value pair 'showplot',false. As far as I understand it, that's not a valid kvp for fitcsvm(). You would set that option by assigning it to the 'hyperparameteroptimizationoptions' struct, and then pass that to fitcsvm().
I'm not exactly familiar with these tools, and i'm pretty sure they've changed since the version i have, so I may be totally wrong.

More Answers (0)

Categories

Find more on Convert Image Type in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!