Browse code

starting som prediction fine-tuned class-performance visualisation

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

Christoph Budziszewski authored on21/01/2009 16:34:25
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,48 @@
1
+function S=vis_grid_struct
2
+
3
+% VIS_GRID_STRUCT Initiates and returns a default grid struct
4
+%
5
+%  S = vis_grid_struct
6
+%
7
+%  Output arguments:
8
+%   S       (struct) som_grid struct 
9
+%
10
+% Fields and their initial values: 
11
+%  S.type='som_grid';
12
+%  S.neigh=neigh;
13
+%  S.shape='sheet';
14
+%  S.msize=msize;
15
+%  S.coord=[];
16
+%  S.line='-';
17
+%  S.linecolor=[.8 .8 .8];
18
+%  S.linewidth=0.5;
19
+%  S.marker='o';
20
+%  S.markersize=6;
21
+%  S.markercolor='k';
22
+%  S.surf=[];
23
+%  S.label=[];
24
+%  S.labelcolor='g';
25
+%  S.labelsize=12;
26
+%
27
+% This is a subfunction for SOM_GRID. 
28
+
29
+% Copyright (c) 1999-2000 by the SOM toolbox programming team.
30
+% http://www.cis.hut.fi/projects/somtoolbox/             
31
+
32
+% Version 2.0beta Johan 090499
33
+
34
+S.type='som_grid';
35
+S.neigh='hexa';
36
+S.shape='sheet';
37
+S.msize=[1 1];
38
+S.coord=[];
39
+S.line='-';
40
+S.linecolor=[.8 .8 .8];
41
+S.linewidth=0.5;
42
+S.marker='o';
43
+S.markersize=6;
44
+S.markercolor='k';
45
+S.surf=[];
46
+S.label=[];
47
+S.labelcolor='g';
48
+S.labelsize=12;