git.schokokeks.org
Repositories
Help
Report an Issue
SVMCrossVal.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
48fb182
Branches
Tags
master
SVMCrossVal.git
private
som_train.m
new labels, some cleanup
Christoph Budziszewski
commited
48fb182
at 2009-08-07 17:23:37
som_train.m
Blame
History
Raw
function [sD sM] = som_train(svmlabel, svmdata, somOptions) global NODALYZE_SOMTOOLBOX; addpath(fullfile(getTbxPath,NODALYZE_SOMTOOLBOX)); som_size = somOptions.size; som_lattice = somOptions.lattice; sD = som_data_struct(svmdata,'labels',num2str(svmlabel)); sM = som_make(sD,'msize', som_size,'lattice', som_lattice, 'tracking', 1, 'init', 'lininit'); sM = som_autolabel(sM,sD,'vote'); end