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