transfer function purelin equation based on neural network toolbox
Show older comments
what is equation of pureline based on neural network toolbox? as i have read before, that purelin transfer function is a = purelin(n) = n. but from simulation in neural network toolbox get different result from the equation. is the equation wrong?
thank you.
3 Comments
Brendan Hamm
on 11 Apr 2019
Your equation is correct, but in a neural network, n will be a linear combination of the inputs from the prior nodes multiplied by their weights and added to the bias.
So in effect purelin is just allowing this linear equation to pass to the next layer directly as opposed to applying another transfer function.
Arrya Anandika
on 11 Apr 2019
Greg Heath
on 13 Apr 2019
How are we supposed to know what you did wrong if you don't demonstrate it???
Greg
Answers (1)
Greg Heath
on 11 Apr 2019
0 votes
Read the documentation
help purelin
doc purelin
Greg
6 Comments
Arrya Anandika
on 11 Apr 2019
Greg Heath
on 11 Apr 2019
Edited: Greg Heath
on 11 Apr 2019
The weights are used on the transformed variables, not the originals.
Hope this helps.
Greg
Arrya Anandika
on 12 Apr 2019
Brendan Hamm
on 12 Apr 2019
The input layer will include a mapminmax transformation, which maps the minimum value of each input to -1 and the maximum value to +1.
Arrya Anandika
on 13 Apr 2019
Greg Heath
on 13 Apr 2019
Edited: Greg Heath
on 13 Apr 2019
- Now and in the future,
SHOW EXACTLY WHAT YOU DID IN ADDITION IN YOUR ATTEMPT TO EXPLAIN IT!
2. Have you read the documentation and tried the examples?
Greg
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!