Neural network with negative output ?
1 次查看(过去 30 天)
显示 更早的评论
hi, i have problem with Neural network using nntool, i have a some negative data in the output! there is relation between this in the input range ? and how can i define the input range ? i use the logsig and pureline transfer function,
thanks in advance,
3 个评论
Greg Heath
2018-12-19
Your comment doesn't make any sense.
You should ALWAYS plot your input, output and output vs input
The range of input and target are properties of the given data. Not sure what you mean by choosing them.
Always choose tansig in the hidden layer
In general, the output layer is linear
HOWEVER for specific cases:
Use tansig if the output is bounded in [ -1,1]
Use logsig if the output is bounded in [ 0,1]
Hope this helps.
Greg
回答(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!