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

📄 rjcubic.m

📁 This demo nstrates the use of the reversible jump MCMC simulated annealing for neural networks. This
💻 M
字号:
function [y] = rjGaussian(mu,x);% PURPOSE : Gaussian basis function.% INPUTS  : - mu: The basis centre.%           - x:  The evaluation point in the domain.% OUTPUTS : - y: The value of the Gaussian at x.% AUTHOR  : Nando de Freitas - Thanks for the acknowledgement :-)% DATE    : 21-01-99if nargin < 2, error('Not enough input arguments.'); end[N,d] = size(x);      % N = number of data, d = dimension of x.y=zeros(N,1);for j=1:N,  z=norm(x(j,:)-mu(1,:));          % Euclidean distance.  y(j,1)= z.^(3);                 % Cubic spline.end;

⌨️ 快捷键说明

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