git.schokokeks.org
Repositories
Help
Report an Issue
SVMCrossVal.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
2095645
Branches
Tags
master
SVMCrossVal.git
javahelper
generateClassLabelValueMaps.m
SVMCrossVal toolbox init
Christoph Budziszewski
commited
2095645
at 2008-12-17 13:45:29
generateClassLabelValueMaps.m
Blame
History
Raw
function generateClassLabelValueMaps(filename) if exist(filename,'file') vars = load(filename); clMap = vars.classLabelMap; nItems = size(clMap,1); lm = LabelMap(nItems); for item = 1:nItems label = clMap(item,1); value = cell2mat(clMap(item,2)); lm.add(label,value) end assignin('base','lm',lm); end