load -ascii mushroomsD

%for i=1:23
% mushroomsD(i,:) = nominalval(mushroomsD(i,:));
%end

[N, m] = size(mushroomsD)

class = 1

%rand('state',0); randn('state',0);
%abalone = abalone(:,randperm(m));

Napp = ceil(m*2/3);
Ntest = m-Napp

app  = mushroomsD(:,1:Napp);size(app)
test = mushroomsD(:,Napp+1:end);size(test)

unique(app(class,:))
unique(test(class,:))

ns = max(mushroomsD')
clear mushroomsD
