gpt4 book ai didi

algorithm - matlab中时滞神经网络的反向传播算法

转载 作者:塔克拉玛干 更新时间:2023-11-03 04:46:39 25 4
gpt4 key购买 nike

我在 matlab 中使用时间延迟神经网络,我想用不同的训练算法训练它。我使用了很多这些算法,例如粒子群优化、levenberg marquardt、准牛顿和...。现在我想使用反向传播,但我不能使用 traingd 函数,因为时间延迟神经网络的反向传播不同于前馈 betwork。任何人都可以告诉我 matlab 中是否有任何函数用于训练 TDNN 是否具有反向传播?

谢谢

最佳答案

来自 mathworks :

One nice feature of the FTDNN is that it does not require dynamic backpropagation to compute the network gradient. This is because the tapped delay line appears only at the input of the network, and contains no feedback loops or adjustable parameters. For this reason, you will find that this network trains faster than other dynamic networks.

使用timedelaynet(inputDelays,hiddenSizes,trainFcn)

Example :

[X,T] = simpleseries_dataset;
net = timedelaynet(1:2,10)
[Xs,Xi,Ai,Ts] = preparets(net,X,T)
net = train(net,Xs,Ts,Xi,Ai);
view(net)
Y = net(Xs,Xi,Ai);
perf = perform(net,Ts,Y)

关于algorithm - matlab中时滞神经网络的反向传播算法,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21671741/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com