You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am very grateful for you sharing your codes.
When I rerun the codes(binary Salp Swarm Algorithm) in Matlab 2018a,I met some questions
The command window show :
error using knnclassify (line 79)
'knnclassify' has been removed. Use 'fitcknn' to fit a KNN classification model and classify data using 'ClassificationKNN.predict'.
error AccTest (line 12)
c = knnclassify(validation(:,x),training(:,x),trn(:,end),5);
error main (line 18)
[acc,cmtest] = AccTest(TargetPosition,trn,vald); % testing phase
I don’t know what’s wrong and how should I remedy the codes.
Could you give me some suggestions?
I will appreciate it if you are willing to help me!
The text was updated successfully, but these errors were encountered:
I am very grateful for you sharing your codes.
When I rerun the codes(binary Salp Swarm Algorithm) in Matlab 2018a,I met some questions
The command window show :
error using knnclassify (line 79)
'knnclassify' has been removed. Use 'fitcknn' to fit a KNN classification model and classify data using 'ClassificationKNN.predict'.
error AccTest (line 12)
c = knnclassify(validation(:,x),training(:,x),trn(:,end),5);
error main (line 18)
[acc,cmtest] = AccTest(TargetPosition,trn,vald); % testing phase
I don’t know what’s wrong and how should I remedy the codes.
Could you give me some suggestions?
I will appreciate it if you are willing to help me!
The text was updated successfully, but these errors were encountered: