Description: Three function for RBF neural network, using OLS,Rand and SGA
function [newcenter,sigma,W,yh,rmse]=rbfols(p,t,tol)
p 為輸入資料點,N×K矩陣,N是輸入資料維度,K是資料點數
t 為目標輸出值,1×K矩陣
tol 為指定容忍度或正確率
centers選定中心點,N×nc矩陣
sigma為 ? 值
W為輸出層權重,nc×1矩陣
yh為網路輸出值,1×K矩陣
rmse 為目標輸出值與網路輸出值之RMSE-Three function for RBF neural network, using OLS,Rand and SGA
function [newcenter,sigma,W,yh,rmse]=rbfols(p,t,tol)
p 為輸入資料點,N×K矩陣,N是輸入資料維度,K是資料點數
t 為目標輸出值,1×K矩陣
tol 為指定容忍度或正確率
centers選定中心點,N×nc矩陣
sigma為 ? 值
W為輸出層權重,nc×1矩陣
yh為網路輸出值,1×K矩陣
rmse 為目標輸出值與網路輸出值之RMSE Platform: |
Size: 2048 |
Author:aaronwu |
Hits:
Description: 此程序是神经网络中径向基函数的OLS算法,在MATLAB中实现。用一个2-n-1结构的RBF网对SISO系统进行建模,网络的两个输入为u(k-1)和y(k-1),输出为 y(k)。令y(0)=0,按飞线性系统产生200个样本,其中前100个样本用于训练,后100个样本用于测试。-This program is the radial basis function neural network of OLS algorithm is implemented in MATLAB. With a 2-n-1 structure of RBF network model of the SISO system, the network of two input u (k-1) and y (k-1), output y (k). So that y (0) = 0, the linear system produced by flying 200 samples, of which the first 100 samples for training, after 100 samples for testing. Platform: |
Size: 1024 |
Author:lingyun |
Hits: