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

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

?? affine.m

?? 模式識別工具箱。非常豐富的底層函數和常見的統計識別工具
?? M
字號:
%AFFINE Construct affine (linear) mapping from parameters%%   W = AFFINE(R,OFFSET,LABLIST_IN,LABLIST_OUT,SIZE_IN,SIZE_OUT)%   W = AFFINE(R,OFFSET,A)%   W = AFFINE(W1,W2) %% INPUT%   R            Matrix of a linear mapping from a K- to an L-dimensional space%   OFFSET       Shift applied after R; a row vector of the length L%                (optional; default: zeros(1,L))%   LABLIST_IN   Labels of the features of the input space%                (optional; default: (1:K)')%   LABLIST_OUT  Labels of the features of the output space, e.g. class names %                for linear classifiers (optional; default: (1:L)')%   SIZE_IN      If based on images: size vector of the input dimensionality %                (optional; default: K)%   SIZE_OUT     If based on images: size vector of the output  dimensionality %                (optional; default: L)%   A            Dataset (LAB_IN_LIST and SIZE_IN are derived from A)%   W1,W2        Affine mappings%% OUTPUT%   W            Affine mapping%% DESCRIPTION  % Defines a mapping W based on a linear transformation R and an offset. % R should be a [K x L] matrix describing a linear transformation from % a K-dimensional space to an L-dimensional space. If K=1, then R is % interpreted as the diagonal of an [L x L] diagonal matrix. OFFSET is % a row vector of the length L, added afterwords.%% Affine mappings are treated by PRTools in a special way. A scaling% defined for an affine mapping, e.g. by W = SETSCALE(W,SCALE) is directly% executed by a multiplication of the coefficients. Also, the product of % two affine mappings is directly converted to a new affine mapping. % Finally, the transpose of an affine mapping exists and is defined as % an another affine mapping. Consequently, this routine also executes % W = AFFINE(W1,W2) if W1 and W2 are affine and B = AFFINE(A,W), if A % is a dataset and W is an affine mapping.%% An [M x K] dataset A can be mapped as D = A*W. The result is equivalent% to [+A, ones(M,1)]*[R; OFFSET]. The dataset D has feature labels stored % in LABLIST. The number of this labels should, thereby, be at least L.%% SEE ALSO% DATASETS, MAPPINGS% Copyright: R.P.W. Duin, r.p.w.duin@prtools.org% Faculty EWI, Delft University of Technology% P.O. Box 5031, 2600 GA Delft, The Netherlands% $Id: affine.m,v 1.6 2007/04/16 08:33:19 duin Exp $function w = affine(R,offset,lablist_in, lablist_out,size_in,size_out)	prtrace(mfilename);	if (nargin == 1) | (~isa(offset,'mapping'))		% Definition of an affine mapping		[m,k] = size(R);		if (nargin < 6)			prwarning(5,'SIZE_OUT is not specified. The number of columns of R, %d, is assumed.', k); 			size_out = k; 		end		if (nargin < 5)			prwarning(5,'SIZE_IN is not specified. The number of rows of R, %d, is assumed.', m); 			size_in = m; 		end		if (nargin < 4)			prwarning(5,'LABLIST_OUT is not specified, [1:%d]'' assumed.', k); 			lablist_out = []; 		end		if (nargin < 3) 			prwarning(5,'LABLIST_IN is not specified, [1:%d]'' assumed.', m); 			lablist_in = []; 		end		if (nargin < 2) | (isempty(offset)) 			prwarning(3,'OFFSET not specified, a zero vector assumed.'); 			offset = zeros(1,k); 		end		% Check consistencies		if (~isa(R,'double'))			error('No proper transformation matrix stored.')		end		if (size_in == 1) & nargin < 3 										% R is a scaling vector			size_in = size_out; 		end			if (isempty(lablist_in))			lablist_in = genlab(1,[1:size_in]');		end				cost = [];		if (isa(lablist_in,'dataset'))						% Copy labels from dataset/datafile			cost = lablist_in.cost;			size_in = getfeatsize(lablist_in);			lablist_in = getfeatlab(lablist_in);			% size_out = k; % Wrong for classifiers defined for 1D datasets		end				if (size(lablist_in,1) < m)			error('Wrong number of input labels supplied.')		end		if isempty(lablist_out)			lablist_out = genlab(1,[1:size_out]');		end				if (size(lablist_out,1) < k)			error('Wrong number of output labels supplied.')		end		if any(size(offset) ~= [1,k])			error('Offset is not a row vector of the correct size.')		end				% Store the results:		d.rot = R;		d.offset = offset;		d.lablist_in = lablist_in;		w = mapping(mfilename,'trained',d,lablist_out,size_in,size_out);		w = setcost(w,cost);		elseif isa(R,'mapping') 		% Two mappings, stored in R and OFFSET, should be combined.		w1 = R;		w2 = offset;		if (~isclassifier(w1)) & (~isclassifier(w2)) & (strcmp(getmapping_file(w1),'affine')) & (strcmp(getmapping_file(w2),'affine'))			% Combine two affine mappings			% If d1.rot or d2.rot are vectors, they have to be interpreted as			% the diagonal matrices, unless the inner dimension does not fit.			d1 = +w1; 			d2 = +w2;			if (size(d1.rot,1) == 1)				% d1.rot is a vector				if (size(d2.rot) == 1)				% d2.rot is a vector					d.rot = d1.rot.*d2.rot;					d.offset = d1.offset.*d2.rot + d2.offset;				else			  									% d2.rot is a matrix					d.rot = repmat(d1.rot',1,size(d2.rot,2)).*d2.rot;					d.offset = d1.offset*d2.rot + d2.offset;				end			else														% d1.rot is a matrix%RD Here comes a bug fix that I needed to continue, I am not sure it%RD is sufficient It may even introduce new problems, especially for%   1D datasets.				%if size(d2.rot,1) == 1 		% d2.rot is vector				if (size(d1.rot,2) > 1) & (size(d2.rot,1) == 1) 	% d2.rot is a vector					d.rot = d1.rot.*repmat(d2.rot,size(d1.rot,1),1);					d.offset = d1.offset.*d2.rot + d2.offset;				else																							% d2.rot is a matrix					d.rot = d1.rot*d2.rot;					d.offset = d1.offset*d2.rot + d2.offset;				end			end			d.lablist_in = d1.lablist_in;			w = mapping(mfilename,'trained',d,getlabels(w2),getsize_in(w1),getsize_out(w2));		else			% Store a sequential mapping.			w = sequential(w1,w2);		end			else  		% Execution of the affine mapping.		% R is a dataset, OFFSET defines the mapping.				v = offset;		[m,k] = size(R);		d = +v;		if (size(d.rot,1) == 1) & (k > 1) 			% No rotation, just a scaling			x = zeros(m,k);			Rdat = +R;			if (m > k)							% Necessary switch for handling large feature sizes.				for j=1:k					x(:,j) = Rdat(:,j)*d.rot(j);				end			else				for i=1:m					x(i,:) = Rdat(i,:).*d.rot;				end			end			x = x + repmat(d.offset,m,1);		else		% Rotation.						x = [+R,ones(m,1)] * [d.rot;d.offset];					end				if size(v,2) == 2 & size(x,2) == 1			x = [x -x];		end				w = setdat(R,x,v);			endreturn;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩一区二区在线视频| 久久天堂av综合合色蜜桃网| 7777精品伊人久久久大香线蕉经典版下载 | 夫妻av一区二区| 欧美日韩在线综合| 亚洲国产成人一区二区三区| 五月天欧美精品| eeuss影院一区二区三区| 欧美一卡2卡3卡4卡| 国产精品伦一区二区三级视频| 午夜久久久久久久久| 国产**成人网毛片九色| 日韩精品一区二区三区三区免费 | 国产视频一区在线观看| 亚洲成国产人片在线观看| 99国产精品久久久久| 2023国产精品视频| 午夜精品久久久久久久久久久| 91亚洲精品久久久蜜桃| 精品久久五月天| 午夜电影网亚洲视频| 91在线精品一区二区三区| 久久夜色精品国产噜噜av | 亚洲乱码中文字幕| 成人在线视频一区| 久久久国产综合精品女国产盗摄| 六月丁香婷婷色狠狠久久| 欧美精品第1页| 亚洲一级电影视频| 91美女视频网站| 亚洲欧美在线高清| 99久免费精品视频在线观看 | 欧美一区二区三区免费大片| 亚洲成人一区二区在线观看| 91一区在线观看| 日韩毛片视频在线看| 99久久精品免费| 综合在线观看色| 91丨porny丨在线| 亚洲色图欧美激情| 一本色道综合亚洲| 一区二区三区视频在线观看| 91久久精品网| 亚洲一二三区视频在线观看| 在线看国产一区二区| 亚洲国产精品久久一线不卡| 91久久国产综合久久| 亚洲一区二区三区激情| 欧美精品乱人伦久久久久久| 美女视频免费一区| 欧美精品一区二区三区久久久| 国产自产v一区二区三区c| 欧美国产一区视频在线观看| 不卡一区二区三区四区| 亚洲欧美日韩系列| 这里是久久伊人| 黄页网站大全一区二区| 国产精品久久网站| 欧美亚洲图片小说| 男人的天堂亚洲一区| 国产亚洲综合色| 91久久国产综合久久| 美脚の诱脚舐め脚责91| 中文字幕欧美日韩一区| 欧美优质美女网站| 精品一区免费av| 成人欧美一区二区三区白人| 色综合天天狠狠| 精品一区二区三区免费毛片爱 | 日韩精品一区二区三区三区免费| 福利一区福利二区| 一区二区三区在线免费| 精品国产一区二区三区四区四| 成人av在线播放网址| 亚洲va欧美va天堂v国产综合| 337p粉嫩大胆色噜噜噜噜亚洲| 色噜噜狠狠色综合欧洲selulu | 亚洲成av人**亚洲成av**| 久久午夜电影网| 欧美色精品天天在线观看视频| 韩国av一区二区三区在线观看| 亚洲三级免费观看| 久久综合久久综合久久| 色系网站成人免费| 国产一区二区在线观看视频| 亚洲一区二区av在线| 国产调教视频一区| 日韩欧美亚洲一区二区| 91论坛在线播放| 国产东北露脸精品视频| 天天综合网天天综合色| 亚洲欧美日韩电影| 久久精品夜色噜噜亚洲a∨| 欧美高清视频www夜色资源网| 成人激情文学综合网| 另类小说一区二区三区| 亚洲成人7777| 一区二区三区欧美久久| 国产农村妇女精品| 2024国产精品视频| 91精品国产综合久久精品| 色综合色综合色综合| 成人污视频在线观看| 国产精品一级片| 麻豆91在线看| 午夜精彩视频在线观看不卡| 亚洲激情综合网| 中文字幕日本乱码精品影院| 久久久久88色偷偷免费| 精品久久久久久最新网址| 8x福利精品第一导航| 欧美中文字幕一区二区三区| 91蜜桃网址入口| 91蝌蚪国产九色| 99久久精品国产麻豆演员表| 粉嫩一区二区三区性色av| 国产一区二区三区香蕉 | 性久久久久久久久| 一区二区三区国产精华| 亚洲一区二区高清| 性久久久久久久久| 日韩在线播放一区二区| 日韩av一区二区在线影视| 日韩av中文在线观看| 免费人成在线不卡| 久久成人18免费观看| 久久超级碰视频| 国产一区二区调教| 高清成人在线观看| 99在线热播精品免费| 色婷婷一区二区| 欧美午夜在线观看| 日韩一区二区三区四区| 精品国产凹凸成av人导航| 国产精品五月天| 亚洲天堂精品视频| 亚洲一级不卡视频| 久久激情综合网| 国产成人小视频| 91视频在线观看| 欧美日韩精品一区二区天天拍小说| 欧美日韩国产中文| 欧美变态口味重另类| 国产精品私人影院| 亚洲国产日韩在线一区模特| 免费在线观看视频一区| 国产精品亚洲一区二区三区妖精 | 精品视频免费看| 久久精品夜夜夜夜久久| 亚洲伦理在线精品| 麻豆国产精品视频| 色香色香欲天天天影视综合网| 欧美美女激情18p| 中文字幕精品三区| 性久久久久久久| 成人一区二区三区| 538prom精品视频线放| 久久久久88色偷偷免费 | 中文字幕一区日韩精品欧美| 性做久久久久久免费观看| 激情综合五月婷婷| 日本韩国欧美国产| 国产农村妇女毛片精品久久麻豆 | 亚洲欧美日韩一区二区| 精品一区二区免费| 91国偷自产一区二区三区成为亚洲经典 | 精品久久国产老人久久综合| 一区视频在线播放| 麻豆国产精品视频| 欧美日韩一区二区欧美激情| 国产视频视频一区| 欧美aaaaa成人免费观看视频| 91碰在线视频| 久久精品视频一区二区三区| 亚洲国产中文字幕在线视频综合| 国产精品888| 在线综合视频播放| 一区二区三区日韩| 91亚洲国产成人精品一区二三| 久久众筹精品私拍模特| 石原莉奈在线亚洲三区| 91免费小视频| 国产精品久久久久永久免费观看| 日本欧美一区二区三区| 在线观看视频91| 亚洲欧洲日本在线| fc2成人免费人成在线观看播放 | 激情亚洲综合在线| 欧美一级xxx| 免费一级欧美片在线观看| 精品婷婷伊人一区三区三| 亚洲免费观看在线视频| 成人激情小说乱人伦| 国产精品丝袜久久久久久app| 国产又黄又大久久| 国产午夜精品美女毛片视频| 国产一区在线视频| 久久久久一区二区三区四区| 国产在线日韩欧美| 久久美女高清视频|