Jump to content

Weighted sum: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 9: Line 9:


weighted sum = x_1 * w_1 + x_2 * 2_2 +... + x_n * w_n
weighted sum = x_1 * w_1 + x_2 * 2_2 +... + x_n * w_n
==Example==
{| class="wikitable"
|
|-
! input values
! input weights
|-
| 3 || 2.1
|-
| 1.5 || 0.7
|-
| -2 || 1.3
|-
|}
weighted sum = 4.75 = 3 * 2.1 + 1.5 * 0.7 + -2 * 1.3


==How Weighted Sum is Used in Machine Learning==
==How Weighted Sum is Used in Machine Learning==