Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

follower met some questions #1

Open
Cra2yDave opened this issue Dec 19, 2018 · 3 comments
Open

follower met some questions #1

Cra2yDave opened this issue Dec 19, 2018 · 3 comments

Comments

@Cra2yDave
Copy link

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!

@Cra2yDave
Copy link
Author

my email : ibelionly@gmail.com

@ashutosh160798
Copy link

@Cra2yDave Did you find a fix to the problem?

1 similar comment
@yf29
Copy link

yf29 commented Oct 12, 2023

@Cra2yDave Did you find a fix to the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants