LFD Book Forum problem 1.2
 User Name Remember Me? Password
 Register FAQ Calendar Mark Forums Read

 Thread Tools Display Modes
#1
09-16-2018, 01:58 PM
 venkatesh-devale Junior Member Join Date: Sep 2018 Posts: 5
problem 1.2

Hello All,

I am not able to understand proceed on this problem. Please can some one just explain how can we do this?

I converted x2 = a*x1 + b to a*x1 + b - x2 = 0 for the line equation and hence the w0 = b, w1 = a and w2 = -1. Is this even correct?

#2
09-16-2018, 09:26 PM
 htlin NTU Join Date: Aug 2009 Location: Taipei, Taiwan Posts: 601
Re: problem 1.2

The problems ask you to express and by , not the other way around. So you should probably repeat what you do but from another angle.
__________________
When one teaches, two learn.
#3
09-16-2018, 11:15 PM
 venkatesh-devale Junior Member Join Date: Sep 2018 Posts: 5
Re: problem 1.2

So as x2 = a*x1 + b classifies the set correctly which means for every x1, x2 on this line a*x1 + b - x2 = 0 hence w0*x0 + w1 * x1 + w2 * x2 = 0 for this line.

Considering these equations can we say that a = w1, b = w0 ? Is this correct now. Further what does the part 2 means what type of picture is expected?
#4
09-20-2018, 03:42 AM
 htlin NTU Join Date: Aug 2009 Location: Taipei, Taiwan Posts: 601
Re: problem 1.2

Quote:
 Originally Posted by venkatesh-devale So as x2 = a*x1 + b classifies the set correctly which means for every x1, x2 on this line a*x1 + b - x2 = 0 hence w0*x0 + w1 * x1 + w2 * x2 = 0 for this line. Considering these equations can we say that a = w1, b = w0 ? Is this correct now. Further what does the part 2 means what type of picture is expected?
If then the equation of the corresponding line is . That is, . The problem asks you to describe general procedure for any and then draw the corresponding line (along with which side to be positive) on the 2D plane for the specific . Hope this helps.
__________________
When one teaches, two learn.
#5
09-20-2018, 12:36 PM
 venkatesh-devale Junior Member Join Date: Sep 2018 Posts: 5
Re: problem 1.2

Thanks I got it, Thank you so much! It's great to have you guys around. There will be a lot of questions from me on this book as I am going through it and have no background.

 Thread Tools Display Modes Linear Mode

 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 Rules
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home General     General Discussion of Machine Learning     Free Additional Material         Dynamic e-Chapters         Dynamic e-Appendices Course Discussions     Online LFD course         General comments on the course         Homework 1         Homework 2         Homework 3         Homework 4         Homework 5         Homework 6         Homework 7         Homework 8         The Final         Create New Homework Problems Book Feedback - Learning From Data     General comments on the book     Chapter 1 - The Learning Problem     Chapter 2 - Training versus Testing     Chapter 3 - The Linear Model     Chapter 4 - Overfitting     Chapter 5 - Three Learning Principles     e-Chapter 6 - Similarity Based Methods     e-Chapter 7 - Neural Networks     e-Chapter 8 - Support Vector Machines     e-Chapter 9 - Learning Aides     Appendix and Notation     e-Appendices

All times are GMT -7. The time now is 03:24 PM.

 Contact Us - LFD Book - Top