git.schokokeks.org
Repositories
Help
Report an Issue
SVMCrossVal.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
4dbef18
Branches
Tags
master
SVMCrossVal.git
somtoolbox2
som_use_vs1.m
starting som prediction fine-tuned class-performance visualisation
Christoph Budziszewski
commited
4dbef18
at 2009-01-21 16:34:25
som_use_vs1.m
Blame
History
Raw
function som_use_vs1() % SOM_USE_VS1 Use SOM Toolbox version 1. % % Removes SOM Toolbox version 2 from the path and adds version 1 there % instead. Before doing this, remember to convert any version 2 structs you % will need to the corresponding version 1 structs using function SOM_VS2TO1. % % See also SOM_USE_VS2, SOM_VS1TO2, SOM_VS2TO1, PATHTOOL. rmpath /share/somtoolbox/www/package/codes2 s=path; p=findstr(s,'/share/matlab5'); p=p(1); i=p+12; while ~strcmp(s(i),'/'), i=i+1; end r=strcat(s(p:i),'toolbox/somtoolbox'); addpath(r) fprintf(1,'Version 1 of SOM Toolbox now in use.\n'); fprintf(1,'Use som_vs2to1 function to convert any vs2 structs to vs1.\n')