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

📄 rbf.m

📁 基于MATLAB完成的神经网络源程序,可以利用该程序完成有关神经网络的应用。
💻 M
字号:
function w = rbf(x, t, d, sigma, lam)% function w = rbf(x,t,d,sigma,lam)%%  Determines weights for a regularized radial basis function network.%  % 	x     - data% 	t     - centers% 	d     - desired response% 	sigma - spread of centers% 	lam   - regularization parameter, set to 'opt' for opt. value via gcv%% Hugh Pasika 1997%[rx cx] = size(x);      [rt ct] = size(t);if cx ~= ct, disp('dimensions of centers and data do not match'); break; endn = rx;  m = rt;G = rbf_mkGF(x,t);G = exp((-1/(2*sigma^2))*G.^2);G = G + lam*eye(size(G));G = [G ones(rx,1)];w = pinv(G)*d;

⌨️ 快捷键说明

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