📄 rbf_test.m
字号:
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 1998rx = size(x,1);G = rbf_mkGF(x,t);G = exp((-1/(2*sigma^2))*G.^2);G = [G ones(rx,1)];y = G*w;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -