diff options
Diffstat (limited to 'sourcecodes/bnt-master/SLP/examples/UCI_DataSets/houseL.m')
| -rw-r--r-- | sourcecodes/bnt-master/SLP/examples/UCI_DataSets/houseL.m | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sourcecodes/bnt-master/SLP/examples/UCI_DataSets/houseL.m b/sourcecodes/bnt-master/SLP/examples/UCI_DataSets/houseL.m new file mode 100644 index 00000000..d2e92617 --- /dev/null +++ b/sourcecodes/bnt-master/SLP/examples/UCI_DataSets/houseL.m @@ -0,0 +1,22 @@ +load -ascii house.dat +houseD=house'; +clear house + +[N, m] = size(houseD) + +class = 1 + +%rand('state',0); randn('state',0); +%houseD = houseD(:,randperm(m)); + +Napp = ceil(m*2/3); +Ntest = m-Napp + +app = houseD(:,1:Napp);size(app) +test = houseD(:,Napp+1:end);size(test) + +unique(app(class,:)) +unique(test(class,:)) + +ns = max(houseD') +clear houseD |
