photo

essrra


Last seen: 1 year ago Active since 2023

Followers: 0   Following: 0

Statistics

  • First Answer
  • Explorer
  • First Review

View badges

Feeds

View by

Question


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 ago | 0 answers | 0

0

answers

Question


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 ago | 1 answer | 0

1

answer

Question


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 ago | 1 answer | 0

1

answer

Question


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 ago | 1 answer | 0

1

answer

Question


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 ago | 1 answer | 0

1

answer

Answered
Out of memory. The likely cause is an infinite recursion within the program.
function [neighborIds, neighborDistances] = kNearestNeighbors(dataMatrix, queryMatrix, k) %----------------------------------...

1 year ago | 1

Answered
"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 ago | 0