Consider the following data. Data describes that a person should/should not buy a house with a given specification.
Size (feet2 ) No. of Bed-Rooms Age of Home (Years) Buy
2104 5 25 No
1416 3 30 Yes
1350 4 15 Yes
750 2 05 No
Use Gradient Descent learning algorithm for logistic regression to predict the price of an unseen house. Values of parameters are given under:
Ө0 = 0.3 Ө1 = 0.2 Ө2 = 0.4 Ө3 = 0.7 α = 0.2
What to do?
(a) Convert the data into appropriate rages.
(b) Code the above classification problem in any language.
(c) Run the algorithm for 30 iterations or if it is converged earlier.
(d) Display the Error Surface