how can i calculate coefficient using neural networks???

조회 수: 6(최근 30일)
DONG JUN KIM
DONG JUN KIM 2021년 8월 7일
답변: Shivam Singh 2021년 8월 13일
hello
i'm trying to calculate coefficient using neural networks
output = 1.5*bias+4*input1
In this case, bias is 1 and input1 is variable.
my neural network structure
i can calculate coefficient(=4) of input1 using backpagation
But i can't calculate coefficient(=1.5) of bias
please give me help to calculate this problem

답변(1개)

Shivam Singh
Shivam Singh 2021년 8월 13일
The bias itself is like the coefficient of an extra input i.e., equal to 1. Since you are trying to calculate coefficient using neural networks.
output = 1.5*bias + 4*input1
So, the bias variable used here is like the coefficient (or weight) of an extra input i.e., 1.5. Now, if you consider 1.5 as an extra input, then you can obtain bias as the coefficient of the input = 1.5, in the same way of back propagation you used to obtain the coefficient of the input1 variable.
If you want to calculate “bias parameter” of the neural network using backpropagation, try using the form:
Output = weight*input + bias

Community Treasure Hunt

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

Start Hunting!

Translated by