about summary refs log tree commit diff
path: root/sourcecodes/bnt-master/SLP/examples/UCI_DataSets/zooD.m
diff options
context:
space:
mode:
Diffstat (limited to 'sourcecodes/bnt-master/SLP/examples/UCI_DataSets/zooD.m')
-rw-r--r--sourcecodes/bnt-master/SLP/examples/UCI_DataSets/zooD.m26
1 files changed, 26 insertions, 0 deletions
diff --git a/sourcecodes/bnt-master/SLP/examples/UCI_DataSets/zooD.m b/sourcecodes/bnt-master/SLP/examples/UCI_DataSets/zooD.m
new file mode 100644
index 00000000..40c1962e
--- /dev/null
+++ b/sourcecodes/bnt-master/SLP/examples/UCI_DataSets/zooD.m
@@ -0,0 +1,26 @@
+load -ascii zoo
+
+[N, m] = size(zoo)
+
+class = 17
+
+rand('state',0); randn('state',0);
+zoo = zoo(:,randperm(m));
+
+Napp = 60
+Ntest = m-Napp
+
+app  = zoo(:,1:Napp);size(app)
+test = zoo(:,Napp+1:101);size(test)
+
+%unique(app(class,:))
+%unique(test(class,:))
+
+%app  = zoo;
+%test = zoo;
+%disp('Test en apprentissage');
+
+ns = max(zoo')
+clear zoo
+
+% N, ns(class), Napp, Ntest, mean(ns),