about summary refs log tree commit diff
path: root/sourcecodes/bnt-master/SLP/examples/UCI_DataSets/heartD.m
diff options
context:
space:
mode:
Diffstat (limited to 'sourcecodes/bnt-master/SLP/examples/UCI_DataSets/heartD.m')
-rw-r--r--sourcecodes/bnt-master/SLP/examples/UCI_DataSets/heartD.m22
1 files changed, 22 insertions, 0 deletions
diff --git a/sourcecodes/bnt-master/SLP/examples/UCI_DataSets/heartD.m b/sourcecodes/bnt-master/SLP/examples/UCI_DataSets/heartD.m
new file mode 100644
index 00000000..b74bd941
--- /dev/null
+++ b/sourcecodes/bnt-master/SLP/examples/UCI_DataSets/heartD.m
@@ -0,0 +1,22 @@
+load -ascii heart
+
+[N, m] = size(heart)
+
+class = N
+
+%rand('state',0); randn('state',0);
+%heart = heart(:,randperm(m));
+
+Napp = 150
+Ntest = m-Napp
+
+app  = heart(:,1:Napp);size(app)
+test = heart(:,Napp+1:end);size(test)
+
+unique(app(class,:))
+unique(test(class,:))
+
+ns = max(heart')
+clear heart
+
+% N, ns(class), Napp, Ntest, mean(ns),