Neural networks are giving me a headache!

1 次查看(过去 30 天)
Firstly, I'm trying to persevere without really understanding their operation. But I'm using them with some success for my problem. I'm just using fitnet. My question is can the output of the neural network be constrained? I'm currently using it to measure the depth of an artifact and I'm getting readings of upto 360% and as low as -40%. Both impossible!
I know I can, and I am, put limits on the output of the neural network, anything above 80% becomes 80% etc. But I'm wondering if I would get better results by constraining the network itself.
Also, can the transform function be changed in fitnet?
Many thanks

回答(1 个)

Greg Heath
Greg Heath 2016-8-11
Percentages of What ???
What are inputs and outputs?
Matrix dimensions?
minmax values?(Fractions instead of percentages are usually better)
Output values are constrained by using tansig or logsig in the output layer.
Thank you for formally accepting my answer
Greg
  1 个评论
jlt199
jlt199 2016-8-11
I'm using the NN to approximate the depth of an artifact. The depth is given as percentage of material lost, eg 50% depth means the artifact is half the depth of the material.
So I want to be able to constrain the output to between 0 and 100%.
Cna I use the logsig or tansig functions on the output layer while using fitnet, or do I need to change to a more generic network function.
Thanks

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by