Question: The gradient of our cost function includes a sum over contributions of individual points. We could calculate the individual contributions separately. The gradient for a

The gradient of our cost function includes a sum over contributions of individual points. We could calculate the individual contributions separately.
The gradient for a single
(
x
(
i
)
,
y
(
i
)
)
(x
(i)
,y
(i)
) point is:
[
(
w
0
+
w
1
x
1
(
i
)
y
(
i
)
)
(
w
0
+
w
1
x
1
(
i
)
y
(
i
)
)
x
1
(
i
)
]
[
(w
0
+w
1
x
1
(i)
y
(i)
)
(w
0
+w
1
x
1
(i)
y
(i)
)x
1
(i)
]
For the line
y
=
2
x
1
y=2x
1
, what is the gradient contribution for each of the four examples?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!