follower met some questions
Cra2yDave opened this issue · 3 comments
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!
my email : ibelionly@gmail.com
@Cra2yDave Did you find a fix to the problem?
@Cra2yDave Did you find a fix to the problem?