LFD Book Forum  

Go Back   LFD Book Forum > Book Feedback - Learning From Data > Chapter 1 - The Learning Problem

Thread Tools Display Modes
Old 12-18-2015, 04:26 AM
henry2015 henry2015 is offline
Join Date: Aug 2015
Posts: 31
Default Problem 1.3 c

= ||w(t-1) + y(t-1)x(t-1)||^2 <--- this is from the PLA iteration
<=(||w(t-1)|| + ||y(t-1)x(t-1)||)^2 <--- a property: ||a + b|| <= ||a|| + ||b||
= ||w(t-1)||^2 + 2y(t-1)||w(t-1)||||x(t-1)|| + y(t-1)^2||x(t-1)||^2
= ||w(t-1)||^2 + 2y(t-1)||w(t-1)||||x(t-1)|| + ||x(t-1)||^2

Now, it seems like 2y(t-1)||w(t-1)||||x(t-1)|| is somehow <= 0.

||w(t-1)||||x(t-1)|| is >= 0 tho.

hence, it seems like 2y(t-1) is somehow <= 0.

It seems like I am on the wrong track as I am not using the hint mentioned in the question at all.

Any pointer?

Reply With Quote
Old 12-19-2015, 08:18 AM
htlin's Avatar
htlin htlin is offline
Join Date: Aug 2009
Location: Taipei, Taiwan
Posts: 610
Default Re: Problem 1.3 c

This inequality ||a + b|| <= ||a|| + ||b|| is quite loose in general and you may want to consider not using it. Hope this helps.
When one teaches, two learn.
Reply With Quote
Old 06-10-2016, 03:19 AM
henry2015 henry2015 is offline
Join Date: Aug 2015
Posts: 31
Default Re: Problem 1.3 c


I just revisited this problem again.

If I substitute w(t-1) with

x(t-1) with

I could get
= ||w(t-1) + y(t-1)x(t-1)||{^2}
= ||w(t-1)||{^2} + y(t-1){^2}||x(t-1)||{^2} + 2y(t-1)w{^T}(t-1)x(t-1)

and then use the hint to get the answer.

However, the dimension of x and w can be more than 3. I just wonder whether there is a more generic proof.

Thanks in advance.

Last edited by henry2015; 06-10-2016 at 03:38 AM. Reason: syntax error
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -7. The time now is 06:53 PM.

Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.
The contents of this forum are to be used ONLY by readers of the Learning From Data book by Yaser S. Abu-Mostafa, Malik Magdon-Ismail, and Hsuan-Tien Lin, and participants in the Learning From Data MOOC by Yaser S. Abu-Mostafa. No part of these contents is to be communicated or made accessible to ANY other person or entity.