声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 878|回复: 1

[编程技巧] newrbe这个命令是作啥用的呀?

[复制链接]
发表于 2007-10-28 14:54 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
哪位高人给我讲解一下呀

[ 本帖最后由 eight 于 2007-10-28 16:29 编辑 ]
回复
分享到:

使用道具 举报

发表于 2007-10-28 16:29 | 显示全部楼层



>> help newrbe
NEWRBE Design an exact radial basis network.

   Synopsis

     net = newrbe(P,T,SPREAD)

   Description

     Radial basis networks can be used to approximate functions.
     NEWRBE very quickly designs a radial basis network with
     zero error on the design vectors.

     NEWRBE(P,T,SPREAD) takes two or three arguments,
     P      - RxQ matrix of Q input vectors.
     T      - SxQ matrix of Q target class vectors.
     SPREAD - of radial basis functions, default = 1.0.
     and returns a new exact radial basis network.

     The larger that SPREAD, is the smoother the function approximation
     will be. Too large a spread can cause numerical problems.

   Examples

     Here we design a radial basis network, given inputs P
     and targets T.

       P = [1 2 3];
       T = [2.0 4.1 5.9];
       net = newrbe(P,T);

     Here the network is simulated for a new input.

       P = 1.5;
       Y = sim(net,P)

   Algorithm

     NEWRBE creates a two layer network. The first layer has RADBAS
     neurons, and calculates its weighted inputs with DIST, and its
     net input with NETPROD.  The second layer has PURELIN neurons,
     and calculates its weighted input with DOTPROD and its net inputs
     with NETSUM. Both layer's have biases.

     NEWRBE sets the first layer weights to P', and the first
     layer biases are all set to 0.8326/SPREAD, resulting in
     radial basis functions that cross 0.5 at weighted inputs
     of +/- SPREAD.

     The second layer weights IW{2,1} and biases b{2} are found by
     simulating the first layer outputs A{1}, and then solving the
     following linear expression:

         [W{2,1} b{2}] * [A{1}; ones] = T

   See also sim, newrb, newgrnn, newpnn.

    Reference page in Help browser
       doc newrbe
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-11-18 17:35 , Processed in 0.086154 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表