⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gaussiankernel.m

📁 这个是支持向量聚类机用matlab编译的主程序和部分子程序
💻 M
字号:
%=====================================================================
%
%	GaussianKernel %  --------------%%	Parameters:   %		x,y     - 2 data points. %		q		- The width of the gaussian kernel.%                   %	Return Value:%		k	    - The inner product of the pair of data points images.
%%		Computes the Gaussian Kernel:
%		The inner product of the images of a given data points' pair.
%   %   	k = K(x,y) = exp( -q * ||x - y||^2 ) %%=====================================================================
function k = GaussianKernel(x,y,q)k = exp(-q * (x-y)' * (x-y));

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -