亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? svmlopt.m

?? this is also good for learning SVM algorithm
?? M
字號:
function options = svmlopt(varargin)% SVMLOPT - Generate/alter options structure for SVM light% %   OPTIONS = SVMLOPT('PARAM1',VALUE1,'PARAM2',VALUE2,...) creates an%   optimization options structure OPTIONS in which the named parameters%   have the specified values.  Any unspecified parameters are set to []%   (parameters with value [] indicate to use the default value for that%   parameter when OPTIONS is passed to SVM light. It is sufficient to type%   only the leading characters that uniquely identify the parameter.  Case%   is ignored for parameter names.%   OPTIONS = SVMLOPT(OLDOPTS,'PARAM1',VALUE1,...) creates a copy of OLDOPTS %   with the named parameters altered with the specified values.%   OPTIONS = SVMLOPT(OLDOPTS,NEWOPTS) combines an existing options structure%   OLDOPTS with a new options structure NEWOPTS.  Any parameters in NEWOPTS%   with non-empty values overwrite the corresponding old parameters in %   OLDOPTS. %   OPTIONS = SVMLOPT (with no input arguments) creates an options structure%   OPTIONS where all the fields are set to [].%%   The correspondence of the SVM light options to the field in the%   OPTIONS structure is as follows:%   Field          SVM light  Range, description%   'Verbosity'      -v       {0 .. 3}, default value 1%                             Verbosity level%   'Regression'     -z       {0, 1}, default value 0%                             Switch between regression [1] and%                             classification [0]%   'C'              -c       (0, Inf), default value (avg. x*x)^-1%                             Trade-off between error and margin%   'TubeWidth'      -w       (0, Inf), default value 0.1%                             Epsilon width of tube for regression%   'CostFactor'     -j       (0, Inf), default value 1%                             Cost-Factor by which training errors on%                             positive examples outweight errors on%                             negative examples%   'Biased'         -b       {0, 1}, default value 1%                             Use biased hyperplane x*w+b0 [1] instead of%                             unbiased x*w0 [0]%   'RemoveIncons'   -i       {0, 1}, default value 0%                             Remove inconsistent training examples and%                             retrain%   'ComputeLOO'     -x       {0, 1}, default value 0%                             Compute leave-one-out estimates [1]%   'XialphaRho'     -o       )0, 2), default value 1.0%                             Value of rho for XiAlpha-estimator and for%                             pruning leave-one-out computation%   'XialphaDepth'   -k       {0..100}, default value 0%                             Search depth for extended XiAlpha-estimator %   'TransPosFrac'   -p       (0..1), default value ratio of%                             positive and negative examples in the%                             training data. Fraction of unlabeled%                             examples to be classified into the positive%                             class%   'Kernel'         -t       {0..4}, default value 1%                             Type of kernel function:%                             0: linear%                             1: polynomial (s a*b+c)^d%                             2: radial basis function exp(-gamma ||a-b||^2)%                             3: sigmoid tanh(s a*b + c)%                             4: user defined kernel from kernel.h%   'KernelParam'    -d, -g, -s, -r, -u%                             Depending on the kernel, this vector%                             contains [d] for polynomial kernel, [gamma]%                             for RBF, [s, c] for tanh kernel, string for%                             user-defined kernel%   'MaximumQP'      -q       {2..}, default value 10%                             Maximum size of QP-subproblems%   'NewVariables'   -n       {2..}, default value is the value chosen%                             for 'MaximumQP'. Number of new variables%                             entering the working set in each%                             iteration. Use smaller values to prevent%                             zig-zagging%   'CacheSize'      -m       (5..Inf), default value 40.%                             Size of cache for kernel evaluations in MB%   'EpsTermin'      -e       (0..Inf), default value 0.001%                             Allow that error for termination criterion%                             [y [w*x+b] - 1] < eps%   'ShrinkIter'     -h       {5..Inf}, default value 100.%                             Number of iterations a variable needs to be%                             optimal before considered for shrinking%   'ShrinkCheck'    -f       {0, 1}, default value 1%                             Do final optimality check for variables%                             removed by shrinking. Although this test is%                             usually positive, there is no guarantee%                             that the optimum was found if the test is%                             omitted.%   'TransLabelFile' -l       String. File to write predicted labels of%                             unlabeled examples into after transductive%                             learning.%   'AlphaFile'      -a       String. Write all alphas to this file after%                             learning (in the same order as in the%                             training set).%%   See also SVML,SVM_LEARN,SVM_CLASSIFY%% % Copyright (c) by Anton Schwaighofer (2001)% $Revision: 1.7 $ $Date: 2002/05/30 10:33:28 $% mailto:anton.schwaighofer@gmx.net% % This program is released unter the GNU General Public License.% options = struct('ExecPath', [], ...                 'Verbosity', [], ...                 'Regression', [], ...                 'C', [], ...                 'TubeWidth', [], ...                 'CostFactor', [], ...                 'Biased', [], ...                 'RemoveIncons', [], ...                 'ComputeLOO', [], ...                 'XialphaRho', [], ...                 'XialphaDepth', [], ...                 'TransPosFrac', [], ...                 'Kernel', [], ...                 'KernelParam', [], ...                 'MaximumQP', [], ...                 'NewVariables', [], ...                 'CacheSize', [], ...                 'EpsTermin', [], ...                 'ShrinkIter', [], ...                 'ShrinkCheck', [], ...                 'TransLabelFile', [], ...                 'AlphaFile', []);numberargs = nargin;Names = fieldnames(options);[m,n] = size(Names);names = lower(Names);i = 1;while i <= numberargs  arg = varargin{i};  if isstr(arg)    break;  end  if ~isempty(arg)    if ~isa(arg,'struct')      error(sprintf('Expected argument %d to be a string parameter name or an options structure.', i));    end    for j = 1:m      if any(strcmp(fieldnames(arg),Names{j,:}))        val = getfield(arg, Names{j,:});      else        val = [];      end      if ~isempty(val)        [valid, errmsg] = checkfield(Names{j,:},val);        if valid          options = setfield(options, Names{j,:},val);        else          error(errmsg);        end      end    end  end  i = i + 1;end% A finite state machine to parse name-value pairs.if rem(numberargs-i+1,2) ~= 0  error('Arguments must occur in name-value pairs.');endexpectval = 0;while i <= numberargs  arg = varargin{i};  if ~expectval    if ~isstr(arg)      error(sprintf('Expected argument %d to be a string parameter name.', i));    end    lowArg = lower(arg);    j = strmatch(lowArg,names);    if isempty(j)      error(sprintf('Unrecognized parameter name ''%s''.', arg));    elseif length(j) > 1       % Check for any exact matches (in case any names are subsets of others)      k = strmatch(lowArg,names,'exact');      if length(k) == 1        j = k;      else        msg = sprintf('Ambiguous parameter name ''%s'' ', arg);        msg = [msg '(' Names{j(1),:}];        for k = j(2:length(j))'          msg = [msg ', ' Names{k,:}];        end        msg = sprintf('%s).', msg);        error(msg);      end    end    expectval = 1;  else               [valid, errmsg] = checkfield(Names{j,:}, arg);    if valid      options = setfield(options, Names{j,:}, arg);    else      error(errmsg);    end    expectval = 0;  end  i = i + 1;end  function [valid, errmsg] = checkfield(field,value)% CHECKFIELD Check validity of structure field contents.%   [VALID, MSG] = CHECKFIELD('field',V) checks the contents of the specified%   value V to be valid for the field 'field'.%valid = 1;errmsg = '';if isempty(value)  returnendisFloat = length(value==1) & isa(value, 'double');isPositive = isFloat & (value>=0);isString = isa(value, 'char');range = [];requireInt = 0;switch field  case {'Biased', 'ComputeLOO', 'ShrinkCheck'}    if isFloat,      if all(value~=[0 1]);        valid = 0;        errmsg = sprintf('Invalid value for %s parameter: Must be either 0 or 1', field);      end    end  case 'XialphaRho'    if ~isFloat | (value<=0) | (value>2),      valid = 0;      errmsg = sprintf('Invalid value for %s parameter: Must be scalar in the range (0, 2]', field);    end  case {'ExecPath', 'TransLabelFile', 'AlphaFile'}    if ~isString,      valid = 0;      errmsg = sprintf('Invalid value for %s parameter: Must be a string', field);    end  case 'RemoveIncons'    requireInt = 1;    range = [0 3];    % does not comply to the SVMlight help text, but is mentioned in the code  case 'Verbosity'    requireInt = 1;    range = [0 3];  case 'Regression'    requireInt = 1;    range = [0 1];  case {'C', 'CostFactor', 'EpsTermin', 'TubeWidth'}    range = [0 Inf];  case 'Kernel'    requireInt = 1;    range = [0 5];  case 'KernelParam'    valid = 1;  case 'XialphaDepth'    requireInt = 1;    range = [0 100];  case 'TransPosFrac'    range = [0 1];  case 'MaximumQP'    requireInt = 1;    range = [2, Inf];  case 'NewVariables'    requireInt = 1;    range = [2, Inf];  case 'CacheSize'    requireInt = 1;    range = [5, Inf];  case 'ShrinkIter'    requireInt = 1;    range = [5, Inf];  otherwise    valid = 0;    error('Unknown field name for Options structure.')endif ~isempty(range),  if (value<range(1)) | (value>range(2)),    valid = 0;    errmsg = sprintf('Invalid value for %s parameter: Must be scalar in the range [%g..%g]', ...                     field, range(1), range(2));  endendif requireInt & ((value-round(value))~=0),  valid = 0;  errmsg = sprintf('Invalid value for %s parameter: Must be integer', ...                   field);end

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美一区二区三区色| 国产尤物一区二区在线| 99re在线精品| 一区二区三区四区视频精品免费 | 99国内精品久久| 中文字幕电影一区| 成人免费看视频| 日韩理论在线观看| 欧美老人xxxx18| 另类小说图片综合网| 精品国产一区二区三区久久影院| 久久99精品久久久| 国产精品嫩草99a| 欧美午夜视频网站| 成人免费av网站| 中文av字幕一区| 欧美高清视频不卡网| 国产精品自拍av| 亚洲精品国产精华液| 精品久久久久一区| 不卡视频在线看| 亚洲成人免费av| 中文字幕一区二区三区色视频| 6080yy午夜一二三区久久| 国产伦精品一区二区三区视频青涩 | 亚洲精品高清在线| 久久亚洲二区三区| 日本道免费精品一区二区三区| 蜜臀av性久久久久蜜臀aⅴ流畅| 国产精品丝袜91| 337p粉嫩大胆色噜噜噜噜亚洲 | 中文字幕二三区不卡| 欧美高清精品3d| 91美女福利视频| 国产·精品毛片| 国产在线视频不卡二| 日韩电影在线一区二区三区| 亚洲视频图片小说| 国产精品视频你懂的| 精品国产一区久久| 欧美一区二视频| 欧美日韩不卡视频| 欧美三级日韩三级国产三级| 在线观看不卡视频| 色婷婷狠狠综合| 欧美曰成人黄网| 欧美日韩精品一区二区三区四区| 成人在线一区二区三区| 国产风韵犹存在线视精品| 黄网站免费久久| 国产成人在线观看| 成人免费毛片片v| 91丨九色丨蝌蚪富婆spa| 91在线观看免费视频| 91一区二区在线观看| 91小视频在线| 在线不卡的av| 久久久国产一区二区三区四区小说 | 精品999久久久| 国产精品久久久久影院| 中文字幕在线一区免费| 夜色激情一区二区| 狠狠久久亚洲欧美| 色综合久久精品| 日韩精品一区在线观看| 中文字幕在线一区免费| 亚洲成在人线免费| 国产精品亚洲成人| 欧美日韩一区二区在线视频| 欧美性猛片aaaaaaa做受| 亚洲精品水蜜桃| 久久不见久久见免费视频1| 欧美无人高清视频在线观看| 一区二区三区高清在线| 丝袜美腿亚洲色图| 国产精品亚洲一区二区三区妖精| 不卡av免费在线观看| 欧美久久久久久蜜桃| 亚洲男人的天堂av| 天堂av在线一区| 久久99精品久久久久久久久久久久| 国产91精品一区二区| 欧美丝袜第三区| 国产精品乱码一区二三区小蝌蚪| 亚洲黄色小说网站| 色噜噜狠狠色综合中国| 中文字幕制服丝袜成人av| 国产综合色产在线精品| 欧美一区二区日韩一区二区| 亚洲国产精品影院| 欧美日韩视频在线一区二区| 亚洲亚洲人成综合网络| 成人美女视频在线看| 中文字幕一区二区三区视频 | 国产精品理论在线观看| 国产一区二区福利视频| 久久久久久97三级| av一二三不卡影片| 日本午夜精品一区二区三区电影| 奇米影视一区二区三区小说| 91福利视频在线| 国产精品正在播放| 日韩av一区二区三区| 国产精品不卡一区| 欧美视频一区二区三区| 国产精品18久久久久久久久久久久| 国产精品毛片无遮挡高清| 欧美丝袜丝交足nylons图片| 免费精品视频在线| 中文字幕佐山爱一区二区免费| 欧美日韩国产一级| 国产成人高清在线| 日韩激情一二三区| 欧美激情一区二区三区不卡 | 中文字幕免费不卡| 91丝袜呻吟高潮美腿白嫩在线观看| 性做久久久久久久久| 久久久久久久久一| 欧美一级片在线观看| 91在线视频播放| 国产福利一区在线| 日韩电影在线一区二区三区| 国产精品毛片大码女人| 日韩三级电影网址| 日本高清成人免费播放| 国产一区在线精品| 午夜精品久久久久久久| 国产精品久久久久久久久图文区 | 国内成人免费视频| 日韩黄色免费电影| 琪琪久久久久日韩精品| 日韩中文欧美在线| 久久超碰97中文字幕| 久久精品国产77777蜜臀| 男人操女人的视频在线观看欧美| 日韩高清在线一区| 日本不卡的三区四区五区| 欧美激情一区二区| 精品动漫一区二区三区在线观看| 欧美日韩亚洲综合在线| 在线亚洲一区二区| 欧美写真视频网站| 欧美日韩成人综合| 欧美日韩黄色影视| 欧美三区在线视频| 91精品免费观看| 欧美一级片在线看| 日韩三级精品电影久久久| 91精品国产91久久综合桃花| 欧美日韩成人综合| 欧美zozo另类异族| 国产亚洲欧美日韩俺去了| 久久久精品日韩欧美| 中文一区在线播放| 亚洲人成网站在线| 亚洲h精品动漫在线观看| 日韩在线观看一区二区| 看片的网站亚洲| 99久久精品免费看| 7777精品伊人久久久大香线蕉完整版 | 亚洲自拍偷拍av| 日本v片在线高清不卡在线观看| 久草这里只有精品视频| 99久久精品久久久久久清纯| 欧美日韩一区中文字幕| 久久久精品天堂| 天天综合色天天综合色h| 国内精品国产成人国产三级粉色 | 美女网站色91| 91亚洲精品久久久蜜桃| 精品少妇一区二区三区日产乱码 | 制服丝袜成人动漫| 国产精品视频免费| 麻豆精品新av中文字幕| 在线免费不卡视频| 日本一区二区久久| 国产一区二区视频在线播放| 欧美伊人久久大香线蕉综合69 | jvid福利写真一区二区三区| 欧美一卡二卡在线观看| 亚洲视频中文字幕| 风间由美性色一区二区三区| 日韩一级片网址| 午夜精品久久久久久久久| 一本久久a久久精品亚洲 | 欧美精三区欧美精三区| 亚洲人亚洲人成电影网站色| 成人高清免费观看| 国产三级精品三级在线专区| 久久成人久久爱| 欧美精品一区二区三区一线天视频 | 播五月开心婷婷综合| 欧美高清在线一区二区| 国产成人免费视频网站| 中文字幕不卡在线播放| 高清在线观看日韩| 亚洲午夜一二三区视频| 在线国产亚洲欧美| 视频一区视频二区在线观看| 欧美一区二区在线视频|