Make a equation with weight and bias in ANN
14 ビュー (過去 30 日間)
古いコメントを表示
Hello guys,
I'm currently making a ANN which is one hidden layer with 8 neurons, and one output layer with 1 neurons.
I wanna make the equation of prediction so that I can get the value when the new input value comes.
I've been using Artificial Neural Network tool box, and here is my guess.
Input value X
Layer 1 : y1 = Sigmoid(X*W1+b1)
Layer 2 : y2 = y1*W2+b2
However, When I doing like this, the output value is different with model.
How can I use the weights and bias in equation?
Thanks.
0 件のコメント
回答 (1 件)
Vineet Joshi
2021 年 12 月 8 日
Hi
When you create a neural network, the weights and bias are usually randomly initialized (folllowing some distribution).
You can set weights and bias by using the following functions.
Regards
参考
カテゴリ
Help Center および File 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!