No BSD License  

Highlights from
Neural Networks: A Comprehensive Foundation, 2e book Companion Software

Neural Networks: A Comprehensive Foundation, 2e book Companion Software

by

 

12 Nov 2004 (Updated )

Companion Software for Neural Networks: A Comprehensive Foundation, 2e book

rbf_test(w, x, t, sigma)
function y = rbf_test(w, x, t, sigma)

% function y = rbf_test(w, x, t, sigma)
%
%  Tests a regularized radial basis function network
%  
%    The input structure RBF must be of the format defined in rbf.m
%    Do a 'help rbf' to see the structure.
%
%    x - test data
%    t - centers
%    w - weights
%
% Hugh Pasika 1998

rx = size(x,1);

G = rbf_mkGF(x,t);
G = exp((-1/(2*sigma^2))*G.^2);
G = [G ones(rx,1)];

y = G*w;


Contact us