Jacinta Das
Question 1: In Laurence Moroney’s video “What is ML”, he compares traditional programming with machine learning and argues that the main difference between the two is a reorientation of the rules, data, and answers. According to Moroney, what is the difference between traditional programming and machine learning?
Question 2: With the first basic script that Moroney used to predict a value output from the model he estimated (he initially started with 10 that predicted ~31). Modify the predict function to produce the output for the value 7. Do this twice and provide both answers. Are they the same? Are they different? Why is this so?
Question 3: Using the script you produced to predict housing price, take the provided six houses and train a neural net model that estimates the relationship between them. Based on this model, which of the six homes present a good deal? Which one is the worst deal?
The model that prediced price based on number of rooms predicted that a 2-bedroom house would cost about 180k, a 3-bedroom house would cost about 240k, a 4-bedroom house would cost about 298k, and a 5-bedroom house would cost about 360k. According to this model, the house on Holly Point Road (97k) is a great deal, especially when compared with 4403 New Point Comfort Highway, which also has 3 bedrooms but costs 229k. The house at 228 Church Street would also be considered expensive, costing 399k compared to the model’s prediction of 298k for a 3-bedroom house. The 5-bedroom house at 760 New Point Comfort Road, which costs nearly 350k, is actually not overpriced according to the model, which predicts a 5-bedroom house’s cost as 358k. The 2-bedroom house (Moon) appears to be overpriced, costing 229k compared with the 180k predicted by the model as an appropriate price.
The model that predicted price based on the number of bathrooms predicted that a 3-bathroom house would cost 400k, a 2-bathroom house would cost 290k, and a 1-bathroom house would cost 170k. According to this model, 760 New Point Comfort Highway is expensive, costing 347.5k compared with the 290k the model prices 2-bathroom houses at. The house at Holly Point Road would once again be considered a good deal, costing significantly less than the price of 170k.