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

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

?? affine.m

?? The pattern recognition matlab toolbox
?? 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一区二区三区免费野_久草精品视频
国产69精品久久99不卡| 日韩欧美国产三级电影视频| 成人av片在线观看| 国产盗摄女厕一区二区三区| 国产乱码一区二区三区| 国产乱对白刺激视频不卡| 蜜桃av噜噜一区| 精品一区二区三区欧美| 久久97超碰国产精品超碰| 精品一区二区综合| 国产一区二区在线影院| 国产在线播放一区| 国产.精品.日韩.另类.中文.在线.播放 | 精品国产免费久久| 欧美成人福利视频| xfplay精品久久| 久久精品亚洲乱码伦伦中文| 国产精品情趣视频| 亚洲女同一区二区| 亚洲18色成人| 久久草av在线| 高清不卡在线观看av| 99r国产精品| 欧美三级中文字幕在线观看| 欧美一级片免费看| 久久久国际精品| 中文字幕一区二区三区色视频| 1024国产精品| 亚洲1区2区3区视频| 麻豆91小视频| 粉嫩在线一区二区三区视频| 92国产精品观看| 欧美日韩国产综合久久| 日韩欧美中文字幕制服| 国产日本欧美一区二区| 另类综合日韩欧美亚洲| 亚洲成人1区2区| 国产一区日韩二区欧美三区| 国产精品一区二区在线观看网站 | 毛片基地黄久久久久久天堂| 亚洲美女视频在线| 天堂成人免费av电影一区| 男人操女人的视频在线观看欧美| 国产福利一区二区三区视频| 一区二区三区国产豹纹内裤在线| 国产精品美女久久久久久2018| 亚洲激情综合网| 美女视频黄免费的久久| 成人短视频下载| 欧美日韩一区不卡| 国产欧美一区二区三区沐欲| 亚洲va韩国va欧美va| 久国产精品韩国三级视频| 91欧美一区二区| 欧美xxxxx牲另类人与| 夜夜嗨av一区二区三区中文字幕| 久久精品国产秦先生| 91成人免费在线| 国产欧美日韩精品一区| 三级影片在线观看欧美日韩一区二区| 国产成人免费视频一区| 欧美挠脚心视频网站| 一区在线观看视频| 久久99国产精品免费| 欧美性xxxxxx少妇| 国产精品欧美一区喷水| 麻豆成人久久精品二区三区小说| 91麻豆精品在线观看| 久久久久99精品国产片| 天天爽夜夜爽夜夜爽精品视频| 丁香桃色午夜亚洲一区二区三区| 91精选在线观看| 亚洲卡通欧美制服中文| 国产麻豆精品一区二区| 欧美一二三区在线观看| 樱花草国产18久久久久| 成人一道本在线| 欧美成人精品3d动漫h| 亚洲成人手机在线| 色综合欧美在线| 中文子幕无线码一区tr| 久久99精品久久只有精品| 欧美三级日韩在线| 一区在线中文字幕| 成人动漫中文字幕| 国产日韩成人精品| 国产一区二区不卡老阿姨| 日韩午夜精品电影| 五月婷婷综合激情| 欧美色图片你懂的| 亚洲在线视频一区| 色综合久久天天综合网| 中文字幕在线不卡国产视频| av中文字幕在线不卡| 欧美tk—视频vk| 精品视频色一区| 久久99精品国产麻豆不卡| 中文字幕的久久| 97久久超碰国产精品| 樱花影视一区二区| 91精品中文字幕一区二区三区| 亚洲高清视频在线| 精品国产1区二区| 国产成人精品三级| 一区二区不卡在线视频 午夜欧美不卡在 | 国产精品私人影院| 国产高清不卡二三区| 久久久久久电影| 国产传媒一区在线| 国产精品久久久久婷婷二区次| 成人免费视频免费观看| 中文字幕一区二区视频| 成人av电影免费观看| 中文字幕在线不卡| 一本一道综合狠狠老| 一区二区三区免费在线观看| 欧美日韩在线一区二区| 天堂一区二区在线免费观看| 91精品国产综合久久久久| 日欧美一区二区| 日韩视频中午一区| 久久成人免费网| 久久午夜老司机| 成人va在线观看| 亚洲免费av观看| 欧美午夜精品久久久久久超碰| 天堂蜜桃一区二区三区| 日韩网站在线看片你懂的| 国产一区二区视频在线| 中国色在线观看另类| 一本久久精品一区二区| 亚洲影视资源网| 91精品国产综合久久国产大片 | 欧美自拍丝袜亚洲| 日本怡春院一区二区| 国产女人18毛片水真多成人如厕 | 久久久久久久久蜜桃| 91玉足脚交白嫩脚丫在线播放| 五月婷婷色综合| 国产三级精品三级| 欧美体内she精高潮| 蜜臀av性久久久久蜜臀av麻豆| 日本一区二区免费在线观看视频| 91黄色免费版| 激情丁香综合五月| 一区在线中文字幕| 欧美一区二区三区思思人| 国产精品996| 亚洲综合精品自拍| 久久久久久久电影| 欧美丝袜丝交足nylons图片| 国产一级精品在线| 亚洲高清免费观看高清完整版在线观看| 欧美成人猛片aaaaaaa| 91在线视频在线| 精品一区二区三区在线观看国产| 国产欧美精品国产国产专区| 欧美日韩国产电影| 成人h动漫精品| 精品一区二区三区蜜桃| 亚洲国产一区二区三区青草影视| 久久久久久久久99精品| 欧美人xxxx| 波多野结衣欧美| 久久99蜜桃精品| 亚洲综合免费观看高清完整版 | 亚洲在线观看免费视频| 久久久精品免费网站| 7799精品视频| 一本大道久久a久久综合婷婷| 精品一区二区三区久久久| 亚洲一二三区在线观看| 欧美国产禁国产网站cc| 91精品国产综合久久婷婷香蕉| 99精品久久99久久久久| 韩国三级电影一区二区| 天天色综合成人网| 亚洲美女屁股眼交3| 国产欧美精品一区| 精品国产一区久久| 欧美一区二区三区四区久久| 欧美视频在线播放| 色妞www精品视频| 顶级嫩模精品视频在线看| 韩国v欧美v日本v亚洲v| 五月婷婷欧美视频| 亚洲影视资源网| 一区二区三区免费看视频| 亚洲欧洲中文日韩久久av乱码| 日本一区二区三区久久久久久久久不 | 色综合欧美在线| 不卡视频一二三| 大胆亚洲人体视频| 国产精品一区免费在线观看| 久久精品国产99国产| 热久久一区二区| 香蕉成人伊视频在线观看| 亚洲午夜精品17c| 亚洲制服丝袜在线| 亚洲成人手机在线|