Question

Simple Linear Regression: You are given the following training data. X Y 2.05.1 2.56.1 3.06.9 3.57.8 4.09.2 4.59.9 5.0 11.5 5

The first one is from the pre set of notes. The second one is during class. They are both saying the same (I think).
Gradient Descent Method Step 1: Guess initial values for parameters Step 2: Change parameter values to reduce J(O) by adding
Algorithm Gradiand bescent Method Stepl: Guess colo step2: Update Qlki (ku) = Q(K) - 0 Grado (300)) TOO Step 3: I not converg
0 0
Add a comment Improve this question Transcribed image text
Answer #1

اگ | | 4 7-8 9, 2 44 ] ی و و و 12.0 128 60 2 = 36 Regression: 5= 91-3 a.) Lineas - وردا لا لا + دریا (5- ;9) (3- 2) 1 د - ڈ -sw. į (ri-5) [y; 9) = 20842.7 (xi -)= 9231 SWT 3 Ż (Xinx ) (91-9) 20842.) – 2.25 9231 4231 iai Že (xiv)? (w , 22-25) wo = 816.) Gradient descent learning algorithm. XK+ =Xktdk skl Sto search direction: Negative in this problem grodient of f(x) which42.375 = 0.3 + 5.34 - 5-6 43.5-92.37= 7.8-5.6 = 2.46 The difference in larger so we do not converge. we got to next. Step 2:Step_3 ул. = 3-13 Х; - X, — ) - =) - 25 - ) - 12 = 0-4-25 — о. | 29 Yo-j2s 2 б• S8 )Step 4: Yxz 30-581 1X330125 Yx4=0.3 X4=xz-dy = 0.15-0.125 xy= 0 Yo =0.3 so we converge at x=o as the minisum. a.) y = 0.3+2.

Add a comment
Know the answer?
Add Answer to:
The first one is from the pre set of notes. The second one is during class....
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT