Language -R Use BostonHousing.csv file The one in answers is notworking ... need new code in R markdown
Divide the housing set into a training and validation set(dedicate 60% to the training and 40% to the validation set).
In order to reduce the remaining predictors, use the`regsubsets()` function of the **leaps** package as follows: Run`regsubsets()` with exhaustive search on the training set.
Using adjusted R^2^s as a metric, choose the top three modelsfrom the exhaustive search.
Then use each of these models separately to predict thevalidation set. Compare RMSE and MAPE derived from the validationset.
Finally, describe the best model. need code in R studio and alsoDiscribe the model
Language -R Use BostonHousing.csv file The one in answers is not working ... need new code in R markdown Divide the housin
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am