LFD Book Forum  

Go Back   LFD Book Forum > Book Feedback - Learning From Data > Chapter 3 - The Linear Model

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 02-11-2013, 09:07 PM
Serega Serega is offline
Junior Member
Join Date: Jan 2013
Location: Virginia, USA
Posts: 2
Default Feature Transform

I don't understand why feature transform formulas have repeated inputs. For example the formula
(3.13) F_2(x) = (1, x_1, x_2, x_2^2, x_1, x_2, x_2^2)
includes untransformed x_1, x_2 twice. Suppose I find some weight vector w and I have
h(x) = sign \left (  [w_0 w_1 w_2 w_3 w_4 w_5 w_6]  dot  [1, x_1, x_2, x_1^2, x_1, x_2, x_2^2]\right )

I can replace it with
h(x) = sign \left (  [w_0 (w_1 + w_2) (w_3+ w_4) w_5  w_6]  dot  [1, x_1, x_2, x_1^2,  x_2^2]\right )
and get the same result. What do we get by including the same variable twice?

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 03:12 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.