![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/29146848_1676128206697_DEF.jpg)
essrra
Followers: 0 Following: 0
Feeds
提问
this two codes is connected to each other when i run the first code it gives me error says : Error using KNN_ Too few input arguments,what i shoud do
global A trn vald ; SearchAgents_no=10; % Number of search agents Max_iteration=100; % Maximum numbef of iterations % A=lo...
1 year 前 | 0 个回答 | 0
0
个回答提问
this two code are connected to each other when i run the first code it gives me error says: Error using GWO Too many output arguments.
close all clear all clc global A trn vald ; T=100; N=30; lb=0;% ub=1; runs=30; threshold=2; fitfun=@AccSz; %fitness fu...
1 year 前 | 1 个回答 | 0
1
个回答提问
it gives me error Unrecognized function or variable 'GWO'.
close all clear all clc global A trn vald ; T=100; N=30; lb=0;% ub=1; runs=30; threshold=2; fitfun=@AccSz; %fitness fu...
1 year 前 | 1 个回答 | 0
1
个回答提问
when i run this code it give me error Not enough input arguments. Error in GWO (line 23) Alpha_pos=zeros(1,dim);
% Grey Wolf Optimizer function [Alpha_score,Alpha_pos,Convergence_curve]=GWO(SearchAgents_no,Max_iter,lb,ub,dim,fobj) % init...
1 year 前 | 1 个回答 | 0
1
个回答提问
WOit gives me error says un recognized variable GWO
clc; clear; global A trn vald ; T=100; N=30; lb=0;% ub=1; runs=30; threshold=2; fitfun=@AccSz; %fitness function 0.99Er...
1 year 前 | 1 个回答 | 0
1
个回答已回答
Out of memory. The likely cause is an infinite recursion within the program.
function [neighborIds, neighborDistances] = kNearestNeighbors(dataMatrix, queryMatrix, k) %----------------------------------...
Out of memory. The likely cause is an infinite recursion within the program.
function [neighborIds, neighborDistances] = kNearestNeighbors(dataMatrix, queryMatrix, k) %----------------------------------...
1 year 前 | 1
已回答
"Too few input arguments"? (GUI handles)
function [predicted_labels,nn_index,accuracy] = KNN_(k,data,labels,t_data,t_labels) %KNN_: classifying using k-nearest neighbor...
"Too few input arguments"? (GUI handles)
function [predicted_labels,nn_index,accuracy] = KNN_(k,data,labels,t_data,t_labels) %KNN_: classifying using k-nearest neighbor...
1 year 前 | 0