[NNstart] How do you interpret the weights and biases values in an ANN Model?

8 views (last 30 days)
We have finished training our ANN model, and have already extracted the weights and biases. we are currently attempting to understand what these values mean. Why are some of the weights negative? Does a larger weight value mean it affects the output parameter more significantly? Are these weight values random and/or abritary?

Answers (1)

Prateek Rai
Prateek Rai on 8 Oct 2021
To my understanding, you trained an ANN model and extracted the weights and biases, and now trying to understand what the values mean.
So here are answers to your questions:
Why are some of the weights negative?
  • Positive weight implies that the corresponding feature is directly related to the output.
  • Negative weight implies that the corresponding feature is inversely related to the output.
Does a larger weight value mean it affects the output parameter more significantly?
  • A larger weight implies that the corresponding feature is more important in predicting the output.
Are these weight values random and/or arbitrary?
  • No, these weight values are neither random nor arbitrary. At the start of training the neural network, you can initialize these weights either random or arbitrary, or initialize them based on other techniques. But the final weight values which we get after completion of training are neither random nor arbitrary. Final weight values come after the training process is completed and depend on how well the model is trained.

Categories

Find more on Sequence and Numeric Feature Data Workflows 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!