The data above will be used for these following questions ignoring the last data entry (Height 165, Age 38) as this is going to be your testing data for your model: a. Let age be the predictor for building our model to predict for height, using 3NN what should be the prediction for a person at 38 years old (1 Marks) b. Using Linear Regression, what would be the value for the coefficients? (2 Marks) c. Is age an important variable in predicting height or not and why? (2 Marks) d. Calculate R-squared for your regression model and explain what this means? (1 Marks) e. Make comparison of KNN, Linear Regression, and real data for the case when the person age is 38, what would be your conclusion here? (1 Marks)
#Sales Offer!| Get upto 25% Off: