I have a code for svm for classifying load fisheririsxdata = meas(51:end,3:4);group = species(51:end);svmStruct = svmtrain(xdata,group,'showplot',true);same way i tried using newrb and newgrnnnet = newgrnn(xdata,group)??? Error using ==> catCAT arguments dimensions are not consistent.Error in ==> cell2mat at 89 m{n} = cat(1,c{:,n});Error in ==> newgrnn at 70if isa(t,'cell'), t = cell2mat(t); end
please tell how to fix it
syntax for those says, data and target class,but why i get error
Best Answer