楼主: 我想我十号
11410 4

[问答] R实现神经网络 nnet包,参数decay如何设置? [推广有奖]

  • 0关注
  • 0粉丝

初中生

90%

还不是VIP/贵宾

-

威望
0
论坛币
10 个
通用积分
0
学术水平
3 点
热心指数
2 点
信用等级
0 点
经验
144 点
帖子
15
精华
0
在线时间
7 小时
注册时间
2014-9-1
最后登录
2016-9-19

楼主
我想我十号 发表于 2014-9-1 11:00:34 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
decay = 0.01
decay = 5e-4

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:Decay 神经网络 NET ECA Dec 如何 网络

沙发
hubifeng? 学生认证  发表于 2014-9-3 09:40:15

藤椅
我想我十号 发表于 2014-9-3 15:55:53
hubifeng? 发表于 2014-9-3 09:40
http://stackoverflow.com/questions/9390337/nnet-function-in-r
打不开网址
里面讲的什么?

板凳
hubifeng? 学生认证  发表于 2014-9-3 20:53:32
decay: parameter for weight decay. Default 0.

Further information is available in the authors' book, Modern Applied Statistics with S. Fourth Edition, page 245:

One way to ensure that f is smooth is to restrict the class of estimates, for example, by using a limited number of spline knots. Another way is regularization in which the fit criterion is altered to

E + λC(f)

with a penalty C on the ‘roughness’ of f . Weight decay, specific to neural networks, uses as penalty the sum of squares of the weights wij. ... The use of weight decay seems both to help the optimization process and to avoid over-fitting. (emphasis added)

报纸
我想我十号 发表于 2014-9-3 21:56:16
hubifeng? 发表于 2014-9-3 20:53
decay: parameter for weight decay. Default 0.

Further information is available in the authors' bo ...
现在同时在用Matlab和R实现神经网络,Matlab用的newff、train、sim等函数;R用的nnet函数。但发现比较Matlab实现的算法用来分类的准确率无法和R比较,因为参数设置无法进行统一,比如输出层的神经元个数,Matlab可以设置,R不知道怎么设置,以及每层的激活函数,无法保证Matlab和R完全相同。R用什么包可以设置Matlab实现的神经网络的参数?

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2026-1-10 22:51