transfer function purelin equation based on neural network toolbox

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

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.
yeah, i have done it. but when i compare matlab simulation with calculate equation, i don't get same result. what's wrong?
How are we supposed to know what you did wrong if you don't demonstrate it???
Greg

댓글을 달려면 로그인하십시오.

답변 (1개)

Greg Heath
Greg Heath 2019년 4월 11일

0 개 추천

Read the documentation
help purelin
doc purelin
Greg

댓글 수: 6

i have read it. but in simulation with matlab and calculate with equation, its not get same result.
what is the problem sir?
Greg Heath
Greg Heath 2019년 4월 11일
편집: Greg Heath 2019년 4월 11일
The weights are used on the transformed variables, not the originals.
Hope this helps.
Greg
what it's mean sir?
can you explain it more? or with example?
thank you sir.
Anantastic
The input layer will include a mapminmax transformation, which maps the minimum value of each input to -1 and the maximum value to +1.
so, we must set input range -1 to 1 sir?
with normalization?
because, based example that i have tried, the target that i want is 0 or 1, but in equation, i got the result many variation, like 2, 3, even 23491.
i don't know what's wrong.
Greg Heath
Greg Heath 2019년 4월 13일
편집: Greg Heath 2019년 4월 13일
  1. 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

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

질문:

2019년 4월 10일

편집:

2019년 4월 13일

Community Treasure Hunt

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

Start Hunting!

Translated by