S = dataset('xlsfile','nss.xlsx') h = randperm(size(S,1)) g = S(h(1:2300),:) l = ismember(S,g,'rows') S(l<0.5, 🙂 where nss.xlsx is a spambase dataset. but i am getting an error like "Error using getvarindices (line 25) Unrecognized variable name 'rows'.
Error in dataset/ismember (line 34) avars = getvarindices(a,vars,false);
Error in trainandtestseparation (line 4) l = ismember(S,g,'rows')"
Best Answer