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

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

?? roc.m

?? 模式識別工具箱。非常豐富的底層函數和常見的統計識別工具
?? M
字號:
%ROC Receiver-Operator Curve% %   E = ROC(A,W,C,N)%   E = ROC(B,C,N)%% INPUT%   A  Dataset%   W  Trained classifier, or%   B  Classification result, B = A*W*CLASSC%   C  Index of desired class (default: C = 1)%   N  Number of points on the Receiver-Operator Curve (default: 100)%% OUTPUT%   E  Structure containing the error of the two classes%% DESCRIPTION% Computes N points on the receiver-operator curve of the classifier W for% class C in the labeled dataset B, which is typically the result of% B = A*W*CLASSC; or for the dataset A labelled by applying the (cell array of)% trained classifiers W.%% Note that a Receiver-Operator Curve is related to a specific class (class C)% for which the errors are plotted horizontally. The total error on all other% classes is plotted vertically. The class index C refers to its position in% the label list of the dataset (A or B). It can be found by GETCLASSI.%% The curve is computed for N thresholds of the posteriori probabilities% stored in B. The resulting error frequencies for the two classes are% stored in the structure E. E.XVALUES contains the errors in the first% class, E.ERROR contains the errors in the second class. In multi-class% problems these are the mean values in a single class, respectively the% mean values in all other classes.%% Use PLOTE(E) for plotting the result. In the plot the two types of error% are annotated as 'Error I' (error of the first kind) and 'Error II' (error% of the second kind). All error estimates are weighted according the class% prior probabilities. Remove the priors in A or B (by setprior(A,[])) to% produce a vanilla ROC.%% EXAMPLES%	Train set A and test set T:%	  B = T*NMC(A); E = ROC(T,50); PLOTE(E); % Plots a single curve%	  E = ROC(T,A*{NMC,UDC,QDC});  PLOTE(E); % Plots 3 curves%% REFERENCES% 1. R.O. Duda, P.E. Hart, and D.G. Stork, Pattern classification, 2nd edition, %    John Wiley and Sons, New York, 2001.% 2. A. Webb, Statistical Pattern Recognition, John Wiley & Sons, New York, %    2002.%% SEE ALSO% DATASETS, MAPPINGS, PLOTE, REJECT, TESTC, GETCLASSI% Copyright: R.P.W. Duin, duin@ph.tn.tudelft.nl% Faculty of Applied Sciences, Delft University of Technology% P.O. Box 5046, 2600 GA Delft, The Netherlands% $Id: roc.m,v 1.7 2007/10/25 09:57:22 duin Exp $function e = roc(a,w,clas,n)	prtrace(mfilename);	% Depending on the call, CLAS may the third or second argument.	% and N the third or the fourth.		if nargin < 4, n = []; end	if nargin < 3, clas= []; end	if nargin < 2, w = []; end	if nargin < 1, a= []; end		if isempty(a)		e = mapping('roc','fixed',{w,clas,n});		return;	end		name = [];	num_w = 1;	compute = 0;	if isa(w,'double') | isempty(w)		n = clas; 		clas = w;		b = a;	elseif iscell(w)		num_w = length(w); 		compute = 1;	elseif ismapping(w)		istrained(w);		b = a*w*classc;		name = getname(w);	else			error('Classifier or cell array of classifiers expected.')	end		if isempty(n),		n = 100;		prwarning(4,'number of ROC points not given, assuming 100');	end		if isempty(clas)		clas = 1;		prwarning(4,'no class given, class 1 assumed');	end	p = getprior(a);	datname = getname(a);	lablist = getlablist(a,'string');	if size(lablist,1)<2		error('At least two classes should be present for computing the ROC curve.');	end	if clas > size(lablist,1)		error('Wrong class number')	end	clasname= lablist(clas,:);	%DXD: also check the class sizes:	cs = classsizes(a);	if cs(clas)==0		error(['Class ',clas,' does not contain objects.']);	end	cs(clas) = 0; 	if sum(cs)==0		error(['One of the classes does not contain objects.']);	end	% Set up the ROC structure.	e.error   = zeros(num_w,n+1);	e.std     = zeros(num_w,n+1);	e.xvalues = [0:n]/n;;	e.n       = 1;	e.xlabel  = 'Error I';	e.ylabel  = 'Error II';	e.plot    = 'plot';	e.names   = name;    if (~isempty(datname))		e.title = ['ROC curve for the ' datname ', class ' clasname];	end	thr = [];															% Threshold range, will be set below.	for j = 1:num_w														% If a cell array of classifiers was given, apply each one here.		if (compute)			v = w{j};			if (~istrained(v))				error('The supplied classifier mappings should be trained.')			end			b = a*v*classc;			e.names = char(e.names,getname(v));		end		[m,c] = size(b); nlab = getnlab(b); d = sort(b(:));		% Attempt to compute a good threshold range on the first classified		% dataset.		if (isempty(thr))			thr = [min(d)-eps d(ceil(([1:n-1]/(n-1))*m*c))' 1]; 		end			e1 = []; e2 = [];		% NLAB_OUT will be one where B is larger than THR.		I = matchlablist(getlablist(b),getfeatlab(b)); % Correct possible changes class orders		nlab_out = (repmat(+b(:,I(clas)),1,n+1) >= repmat(thr,m,1));		% ERRS will be 1 where the numeric label is unequal to NLAB_OUT		% (i.e., where errors occur).		errs = (repmat((nlab==clas),1,n+1) ~= nlab_out);					% Split the cases where ERRS = 1 into cases for CLAS (E1) and all 		% other classes (E2).		e1 = [mean(errs(find(nlab==clas),:),1)];		e2 = [mean(errs(find(nlab~=clas),:),1)];				% Fill results in the ROC structure.		e.error(j,:)   = e2;		e.xvalues(j,:) = e1;	end	% First name will be the empty string [], remove it.	if (num_w > 1)		e.names(1,:) = [];	endreturn

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲欧洲日韩在线| 国产天堂亚洲国产碰碰| 99久久婷婷国产精品综合| 麻豆精品在线看| 国内成人自拍视频| 国产传媒日韩欧美成人| 国产一区二区三区精品欧美日韩一区二区三区 | 国产一区二区三区日韩| 精品一区二区三区在线视频| 国内精品久久久久影院一蜜桃| 激情综合五月天| 国产91精品一区二区| 风间由美性色一区二区三区| 成人精品视频一区二区三区尤物| 成人动漫精品一区二区| 91麻豆文化传媒在线观看| 色综合咪咪久久| 欧美乱妇15p| 久久婷婷色综合| 欧美国产禁国产网站cc| 亚洲色图在线视频| 无码av免费一区二区三区试看| 免费日韩伦理电影| 成人av午夜电影| 欧美日韩高清一区二区不卡| 欧美精品一区二区在线观看| 国产精品伦理一区二区| 亚洲电影一区二区三区| 久久成人综合网| 波多野结衣亚洲一区| 欧美日韩一区精品| 久久久久久久电影| 亚洲在线中文字幕| 国产精品99久| 在线看国产一区二区| 欧美变态tickle挠乳网站| 自拍偷在线精品自拍偷无码专区| 五月激情六月综合| 成人免费视频一区| 日韩欧美国产精品| 一区二区三区毛片| 国产精品夜夜爽| 欧美一级精品大片| 亚洲免费色视频| 国产乱码精品一区二区三区忘忧草| 91黄视频在线| 国产欧美视频一区二区| 免费一级片91| 欧美这里有精品| 国产精品久久久久久久岛一牛影视 | 亚洲一区二区在线视频| 激情久久久久久久久久久久久久久久| 成人av免费在线观看| 欧美不卡一区二区三区| 一区二区三区四区视频精品免费| 久久国产欧美日韩精品| 欧美日免费三级在线| 日韩码欧中文字| 国产大陆a不卡| 久久久久综合网| 狠狠网亚洲精品| 日韩三级精品电影久久久 | 亚洲精品成人精品456| 国产91精品露脸国语对白| 日韩欧美在线影院| 日韩高清国产一区在线| 精品视频在线视频| 伊人色综合久久天天人手人婷| 不卡的av电影| 国产精品进线69影院| 国产成人av资源| 亚洲国产精品av| 成人丝袜18视频在线观看| 国产日产欧美一区| 国产成人免费视频精品含羞草妖精| 欧美成人aa大片| 精品一二线国产| 久久综合999| 久久 天天综合| 久久蜜桃香蕉精品一区二区三区| 久久精品久久久精品美女| 日韩精品资源二区在线| 久久精品国产澳门| 久久综合久久久久88| 国产精品69久久久久水密桃| 国产欧美一区二区三区鸳鸯浴| 国产精品99久久久久久宅男| 中文字幕在线观看一区二区| 91丝袜高跟美女视频| 亚洲一区二区3| 欧美精品99久久久**| 免费不卡在线观看| 欧美国产视频在线| 日本高清成人免费播放| 午夜精品成人在线视频| 精品美女在线播放| 国产suv精品一区二区三区| 国产精品不卡在线| 欧美另类一区二区三区| 国产一区二区三区高清播放| 亚洲日本欧美天堂| 91精品免费在线| 国产91丝袜在线观看| 夜夜精品浪潮av一区二区三区| 欧美丰满一区二区免费视频| 久久99精品国产91久久来源| 国产精品久久看| 91精品福利在线一区二区三区| 国产精品一区二区久久精品爱涩 | 亚洲综合色区另类av| 欧美一级理论性理论a| 国产精品888| 亚洲成a人v欧美综合天堂下载 | 国产成人免费在线观看| 亚洲一区二区欧美激情| 精品国产一区二区精华| 欧美主播一区二区三区美女| 狠狠色2019综合网| 亚洲高清免费视频| 国产精品不卡在线| 欧美成人激情免费网| 欧美午夜影院一区| 国产69精品久久99不卡| 日本成人在线不卡视频| 亚洲欧美日韩中文播放| 久久综合狠狠综合久久综合88| 欧美在线视频你懂得| 成人精品视频网站| 激情综合一区二区三区| 丝袜美腿高跟呻吟高潮一区| 亚洲欧洲日本在线| 国产亚洲一区二区三区| 日韩午夜精品电影| 欧美电影一区二区| 日本韩国欧美国产| 91网站黄www| 成人美女视频在线看| 国产乱码字幕精品高清av| 久久精品国产成人一区二区三区| 亚洲午夜精品一区二区三区他趣| 国产精品第一页第二页第三页| 精品国产sm最大网站| 日韩欧美亚洲国产精品字幕久久久| 91精品福利视频| 91蝌蚪porny| 一本大道av一区二区在线播放| 成人性生交大片| 国产成人免费视频网站| 国产精品一区二区三区网站| 狠狠色丁香久久婷婷综合_中 | 久久综合999| 欧美大片一区二区| 欧美一级片在线| 91精品国产综合久久福利| 欧美日韩在线电影| 欧美久久久久久久久| 91麻豆精品国产| 欧美成人国产一区二区| 精品99一区二区| 国产日产欧美一区| 中文字幕在线不卡一区二区三区| 国产精品毛片大码女人| 亚洲三级小视频| 亚洲精品视频一区| 亚洲图片欧美色图| 日韩vs国产vs欧美| 国产米奇在线777精品观看| 国产精品一区二区久久精品爱涩 | 欧美高清视频不卡网| 欧美视频三区在线播放| 91精品免费观看| 久久久久久久综合日本| 国产精品理论片| 一区二区三区小说| 蜜臀av一区二区| 成人免费毛片高清视频| 色婷婷久久综合| 欧美一级艳片视频免费观看| 久久久www成人免费毛片麻豆| 国产精品盗摄一区二区三区| 亚洲午夜精品在线| 国产资源在线一区| 色网站国产精品| 日韩欧美一卡二卡| 国产精品伦理一区二区| 亚洲电影一区二区三区| 国产在线国偷精品产拍免费yy| 色综合久久88色综合天天6 | 99精品视频一区| 制服丝袜成人动漫| 久久日韩粉嫩一区二区三区| 亚洲婷婷综合久久一本伊一区| 日日夜夜一区二区| 丁香激情综合国产| 欧美精品v国产精品v日韩精品 | 国产在线不卡视频| 欧美性三三影院| 久久美女艺术照精彩视频福利播放 | 成人性生交大片免费看视频在线| 欧美三日本三级三级在线播放|