Browse code

Classes must reside in Main Dir!

git-svn-id: https://svn.discofish.de/MATLAB/spmtoolbox/SVMCrossVal@164 83ab2cfd-5345-466c-8aeb-2b2739fb922d

Christoph Budziszewski authored on 18/03/2009 14:58:00
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,7 @@
1
+function classCells = lm_getClasses(mapping)
2
+    hset = mapping.LabelToValue.keySet;
3
+    hset = hset.toArray;
4
+    for item = 1:hset.length
5
+        classCells{item} = hset(item);
6
+    end
7
+end
0 8
\ No newline at end of file
Browse code

moved stuff, fixing plotDecode

git-svn-id: https://svn.discofish.de/MATLAB/spmtoolbox/SVMCrossVal@151 83ab2cfd-5345-466c-8aeb-2b2739fb922d

Christoph Budziszewski authored on 16/03/2009 14:41:06
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,7 +0,0 @@
1
-function classCells = lm_getClasses(mapping)
2
-    hset = mapping.LabelToValue.keySet;
3
-    hset = hset.toArray;
4
-    for item = 1:hset.length
5
-        classCells{item} = hset(item);
6
-    end
7
-end
8 0
\ No newline at end of file
Browse code

refactored LabelMap getter with lm prefix.

git-svn-id: https://svn.discofish.de/MATLAB/spmtoolbox/SVMCrossVal@144 83ab2cfd-5345-466c-8aeb-2b2739fb922d

Christoph Budziszewski authored on 06/03/2009 12:49:18
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,7 @@
1
+function classCells = lm_getClasses(mapping)
2
+    hset = mapping.LabelToValue.keySet;
3
+    hset = hset.toArray;
4
+    for item = 1:hset.length
5
+        classCells{item} = hset(item);
6
+    end
7
+end
0 8
\ No newline at end of file