Weighted Sum
Calculate how inputs, weights and bias combine before activation.
Core calculation
A neuron multiplies each input by its corresponding weight, adds the contributions, and adds the bias:
z = Σ(xᵢ × wᵢ) + b
Using the running example:
- Inputs: (1, 1, 1)
- Weights: (0.4, 0.9, 0.7)
- Bias: -0.5
z = (1×0.4) + (1×0.9) + (1×0.7) - 0.5 z = 0.4 + 0.9 + 0.7 - 0.5 z = 1.5
Why the order matters
The weighted sum plus bias is the neuron's pre-activation value. The activation function is applied after this calculation.
Independent practice
Inputs: (1, 1, 0); weights: (0.6, 0.7, 0.4); bias: -0.3. Expected weighted input sum = 0.6 + 0.7 + 0 = 1.3. Add bias: z = 1.0.
This arithmetic exercise was assigned; learner submission is not recorded.
Recovered from the available teaching record; not a verbatim transcript.
Introduced; learner mastery not verified.
Help improve this learning path.
Suggest a concept we should teach, or tell us what is unclear. No account is required. Email is optional and only for a reply. Do not include confidential or sensitive information.