For one hidden layer with "tansig","purelin" transfer functions the post process Fcns = {'removeconstantrows','mapminmax'} is done after tansig or purlin?
3 次查看(过去 30 天)
显示 更早的评论
I have one hidden layer with "tansig","purelin" transfer function. I used net.inputs{1}.processFcns = {'removeconstantrows','mapminmax'}; and net.outputs{2}.processFcns = {'removeconstantrows','mapminmax'}; as post processing, This post process is done after "tansig" or after "purelin"?
0 个评论
回答(1 个)
Jayanti
2025-7-8
Hi Sanaz,
In MATLAB’s neural network architecture, each layer is assigned only one transfer function. Since you mentioned both 'tansig' and 'purelin'. I am assuming 'tansig' is applied to the hidden layer and 'purelin' is applied to the output layer.
The output postprocessing functions defined are always applied after the final layer of the network which in your case uses the 'purelin' transfer function. So, the postprocessing happens after 'purelin', not after 'tansig'.
Hope this is helpful!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!