b0a2dbf1076c250822bde906330ec8bace1d4896
Christoph Budziszewski snapshot, classification

Christoph Budziszewski authored 15 years ago

1) function [sD sM] = train_som(svmlabel, svmdata, somOptions)
2) 
Christoph Budziszewski manual renamings, better FB...

Christoph Budziszewski authored 15 years ago

3) som_size = somOptions.size;
4) som_lattice = somOptions.lattice;
5) 
Christoph Budziszewski snapshot, classification

Christoph Budziszewski authored 15 years ago

6) display('SOM TRAINING');
7) addpath 'somtoolbox2';
8) sD = som_data_struct(svmdata,'label',num2str(svmlabel));
9) assignin('base','sD',sD);
Christoph Budziszewski manual renamings, better FB...

Christoph Budziszewski authored 15 years ago

10) sM = som_make(sD,'msize', som_size,'lattice', som_lattice);
11) 
12) sM = som_autolabel(sM,sD,'vote');