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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? code_ecoc.m

?? 最小二乘支持向量基的工具箱,希望對大家有用!
?? M
字號(hào):
function [codebook,scheme] = code_ECOC(m,dist,distfct)% Generate the codebook for multiclass classification with Error Correcting Output encoding if feasible.%% function coding the multiple classes of this classification% model, using the Error Correcting Output Coding;%%   codebook = code_ECOC(m)%   codebook = code_ECOC(m, dist)%   codebook = code_ECOC(m, dist, distfct)%% a codebook is found such that the minimal distances% between the 'm' different classes is larger than 'dist' according% to the distance measure of 'distfct'. The default is 'dist' 2% for the 'codedist_hamming' distance. Besides the minimal distance% between class representations, similar binary classifiers are% also avoided as these do not add reliability in the context of% deterministic binary classifiers.%% A recursive backtracking implementation looks for a% representation which fullfills the constraint. It can decide% exhaustively if such a representation is feasable. This can take% lots of memory and time when 'm' becomes large (>50).%%%  see also:%    code, code_OneVsOne, code_OneVsAll, code_MOC, codedist_hamming% Copyright (c) 2002,  KULeuven-ESAT-SCD, License & help @ http://www.esat.kuleuven.ac.be/sista/lssvmlab% defaulteval('distfct;','distfct=''codedist_hamming'';');eval('dist;','dist=2'';');nb = ceil(log2(m*dist));codebook =[];candidates = eps.*ones(nb,1);while isempty(codebook),  disp(['number of bits ' num2str(nb)]);  if nb>2^(m-1), error('No such code feasable'); end  [codebook,sc] = create_code(candidates, m, dist, distfct,[]);   if isempty(codebook),    nb=nb+1;    candidates = eps.*ones(nb,1);  else    hd=inf;    hdM = 0;    for t1=1:size(codebook,1),    for t2=(t1+1):size(codebook,1),	hd = min(hd,feval(distfct,codebook(t1,:), codebook(t2,:)));	hdM = max(hdM,feval(distfct,codebook(t1,:), codebook(t2,:)));    end; end    if hd==0|hdM==size(codebook,2),       candidates = sc;      codebook=[]; disp('retry');     end     endend%% output format, where 'b' stands for binary discriminator% see also 'code' and 'codelssvm'scheme = []; for i=1:nb, scheme = [scheme 'b']; endfunction [code,shrunkcandidate,rc] = create_code(candidates, m, dist, distfct,foundcand)%% recursive called function%% base caseif isempty(candidates), code=[]; shrunkcandidate=[]; rc=0; return; end % pick a candidate[nb,nc] = size(candidates);rc=ceil(rand*nc);acode = candidates(:,rc);% initate this candidate% and remove from the candidate listacode = (acode~=eps).*acode;aicode = acode +(acode==0).*sign(rand(nb,1)-.5);if sum(acode==0)==0,  candidates = candidates(:,[1:(rc-1) (rc+1):nc]);else  while(acode==aicode),    aicode = acode + (acode==0).*sign(rand(nb,1));  endendaicode = aicode+(aicode==0).*eps;acode = acode+(acode==0).*eps;candidates = shrink(candidates, aicode, dist, distfct);shrunkcandidate = shrink(acode, aicode, dist, distfct);% recursionif m-1>0,  shrunkc = candidates;    fprintf('R;');  [newcode,shrunkcandidate2,cc] = create_code(candidates,m-1, dist, distfct,[foundcand aicode]);  fprintf('O;');  while isempty(newcode),    if isempty(find(shrunkcandidate2)), code=[]; return; end    disp('retry with left candidates');     shrunkc = [shrunkc(:,1:(cc-1)) shrunkcandidate2  shrunkc(:,(cc+1):end)];    [newcode,shrunkcandidate2,cc] = create_code(shrunkc, m, dist, distfct,foundcand);  end  code = [aicode newcode]; else  code = aicode;endshrunkcandidate = candidates;function shrunkcandidates = shrinkr(candidates, aicode, dist, distfct)% refine candidates according to dist% and shrink list of candidates%% recursive algorithm: TAKE CARE many recursions neededfprintf('r');% end of recursionif isempty(candidates),shrunkcandidates=[]; return; endif size(candidates,2)==1 &sum(candidates==eps)==0,shrunkcandidates=[]; return; end% recursive stepcand = candidates(:,1);if feval(distfct, aicode', cand)<dist,  %zi = find(cand==eps & aicode~=eps);  zi = find(cand==eps);  if ~isempty(zi),    ncandn = [cand(1:(zi-1)); -1; cand((zi+1):end)];    ncandp = [cand(1:(zi-1)); 1; cand((zi+1):end)];    candidates = [candidates(:,2:end) ncandp ncandn];  else    candidates = candidates(:,2:end);  end  shrunkcandidates = shrink(candidates,aicode,dist,distfct);else  shrunkcandidates = [cand shrink(candidates(:,2:end),aicode,dist,distfct)];endfprintf('o');function shrunkcandidates = shrink(candidates, aicode, dist, distfct)% refine candidates according to dist% and shrink list of candidates%% iteration with dynamical list%aicode%candidatesi =1;nb = size(candidates,2);while i<=nb,   cand = candidates(:,i);  if feval(distfct, aicode', cand)<dist,    zi = find(cand==eps);    if ~isempty(zi),      ncandn = [cand(1:(zi-1)); -1; cand((zi+1):end)];      ncandp = [cand(1:(zi-1)); 1; cand((zi+1):end)];      [candidates(:,[1:(i-1) (i+1):end]) ncandp ncandn];      candidates = [candidates(:,[1:(i-1) (i+1):end]) ncandp ncandn];    else      candidates(:,[1:(i-1) (i+1):end]);      candidates = candidates(:,[1:(i-1) (i+1):end]);    end  else    i=i+1;  end  nb = size(candidates,2);endshrunkcandidates = candidates;

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩五月天| 国产成人精品亚洲午夜麻豆| 欧美日韩一区二区在线观看| 亚洲男人的天堂一区二区| av福利精品导航| 亚洲欧美日韩国产综合| 91老师国产黑色丝袜在线| 亚洲卡通动漫在线| 欧美日韩不卡视频| 奇米精品一区二区三区在线观看 | 一区二区三区中文字幕电影| 99久久精品情趣| 一个色在线综合| 91精品国产色综合久久ai换脸 | 久久精品久久精品| 久久久久久久性| 97久久精品人人做人人爽| 亚洲一区影音先锋| 欧美精品一区二区在线播放| 成人av电影免费在线播放| 亚洲精品日日夜夜| 日韩片之四级片| gogogo免费视频观看亚洲一| 亚洲国产精品自拍| 久久久久久久久岛国免费| 91女神在线视频| 免费在线观看成人| 亚洲日穴在线视频| 欧美va天堂va视频va在线| 91亚洲男人天堂| 美日韩一区二区三区| 国产精品久线在线观看| 制服.丝袜.亚洲.中文.综合| 大胆亚洲人体视频| 午夜亚洲福利老司机| 久久在线免费观看| 欧美视频在线播放| aaa欧美日韩| 青青草97国产精品免费观看 | 国产一区二区不卡| 一区二区三区中文免费| 久久影音资源网| 欧洲一区在线电影| 高清在线成人网| 麻豆国产精品视频| 亚洲综合网站在线观看| 日本一区二区视频在线观看| 欧美日韩国产一级二级| 91性感美女视频| 国内精品免费在线观看| 日韩在线观看一区二区| 亚洲欧洲精品一区二区精品久久久 | 风流少妇一区二区| 免费成人在线影院| 亚洲成av人片在线| 亚洲欧洲在线观看av| 国产亚洲一二三区| 精品奇米国产一区二区三区| 欧美性色综合网| 在线精品视频一区二区| 99re66热这里只有精品3直播 | 欧美精三区欧美精三区| 99re6这里只有精品视频在线观看| 国产一区二区视频在线| 麻豆成人久久精品二区三区红| 亚洲综合成人网| 亚洲精品一卡二卡| 国产精品成人一区二区三区夜夜夜| 精品久久人人做人人爽| 欧美一级爆毛片| 日韩免费看网站| 日韩欧美的一区二区| 8x福利精品第一导航| 欧美伦理视频网站| 欧美猛男男办公室激情| 欧美日韩国产一级片| 欧美色中文字幕| 欧美性大战久久久久久久| 日本韩国欧美国产| 在线亚洲高清视频| 欧美蜜桃一区二区三区| 91精品国产欧美日韩| 欧美一级高清片在线观看| 制服丝袜日韩国产| 日韩亚洲国产中文字幕欧美| 欧美一二三区在线| 日韩免费高清电影| 国产丝袜欧美中文另类| 国产精品麻豆视频| 亚洲综合999| 日韩精品福利网| 国内精品自线一区二区三区视频| 国产一区二区精品久久99| 国产v综合v亚洲欧| 色呦呦网站一区| 8v天堂国产在线一区二区| 日韩亚洲国产中文字幕欧美| 久久先锋资源网| 国产精品久久久久久久久免费樱桃 | 成人欧美一区二区三区小说| 自拍视频在线观看一区二区| 亚洲一二三区视频在线观看| 五月婷婷另类国产| 国产麻豆一精品一av一免费| 不卡视频在线观看| 欧美日韩一区久久| 精品动漫一区二区三区在线观看| 亚洲国产精华液网站w | 欧美激情一区在线观看| 国产精品美女久久久久久久久久久| 自拍偷在线精品自拍偷无码专区| 一二三区精品福利视频| 蜜臀91精品一区二区三区| 国产成人三级在线观看| 色www精品视频在线观看| 91精品国产综合久久福利| 国产亚洲欧洲997久久综合| 亚洲欧美视频在线观看视频| 日韩成人免费电影| 成人午夜精品在线| 欧美丰满一区二区免费视频| 欧美极品少妇xxxxⅹ高跟鞋| 亚洲综合色区另类av| 国产一区啦啦啦在线观看| 一本大道久久a久久综合| 久久亚洲二区三区| 亚洲3atv精品一区二区三区| 国产酒店精品激情| 欧美日韩一区二区在线观看| 日本一区二区免费在线观看视频 | 国产精品久久久久7777按摩| 婷婷夜色潮精品综合在线| 丰满少妇在线播放bd日韩电影| 欧美美女喷水视频| 亚洲同性gay激情无套| 国产在线精品免费av| 欧美视频一区二区在线观看| 国产片一区二区三区| 青青草97国产精品免费观看无弹窗版 | 国产精品成人网| 麻豆国产精品一区二区三区| 在线免费视频一区二区| 国产精品久99| 激情综合网激情| 欧美精品自拍偷拍| 亚洲精品国产一区二区三区四区在线| 国产精品资源网| 欧美va亚洲va在线观看蝴蝶网| 亚洲成人av福利| av一本久道久久综合久久鬼色| 欧美精品一区二区久久久| 亚洲高清一区二区三区| 91视频免费看| 中文字幕一区二| 国产91精品精华液一区二区三区| 精品日本一线二线三线不卡 | 黄色日韩三级电影| 欧美一区二区啪啪| 午夜欧美一区二区三区在线播放| 色综合咪咪久久| 亚洲欧美综合另类在线卡通| 成人做爰69片免费看网站| 久久午夜色播影院免费高清| 久久99国产精品久久| 日韩一区二区三区在线| 免费在线一区观看| 日韩一二三区不卡| 免费av网站大全久久| 制服丝袜亚洲播放| 美女任你摸久久| 日韩精品最新网址| 国内外精品视频| 久久久99久久| 夫妻av一区二区| 国产精品久久久久一区| 波多野结衣一区二区三区| 国产精品的网站| 色综合激情久久| 香蕉乱码成人久久天堂爱免费| 欧美天堂亚洲电影院在线播放| 亚洲午夜精品在线| 91精品国产欧美日韩| 激情深爱一区二区| 亚洲国产精品t66y| 在线观看欧美精品| 日韩不卡在线观看日韩不卡视频| 4438x亚洲最大成人网| 激情综合网av| 国产精品沙发午睡系列990531| 99精品视频在线播放观看| 亚洲精品国产高清久久伦理二区| 日本韩国一区二区三区视频| 亚洲午夜免费电影| 精品福利一二区| 99久久精品99国产精品| 亚洲国产日韩综合久久精品| 欧美日韩高清一区二区三区| 久久激情综合网| 国产精品电影院| 欧美日本一区二区在线观看|