domly. Perform linear regression using lm() to predict the variable medv. Tune the model with feature selection, feel free

Elementary Linear Algebra (MindTap Course List)
8th Edition
ISBN:9781305658004
Author:Ron Larson
Publisher:Ron Larson
Chapter2: Matrices
Section2.CR: Review Exercises
Problem 90CR
icon
Related questions
Question
J 2 Load the BostonHousing data from the mlbench package in R. Split the data into training (70%), validation (20%), and testing (10%) sets randomly. Perform linear regression using lm() to predict the variable medv. Tune the model with feature selection, feel free to create new features from the existing ones. Iterate on training and validating your model and optimize by experimenting with the inclusion and exclusion of features to determine the best model. Perform in R only.   
Expert Solution
steps

Step by step

Solved in 4 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Elementary Linear Algebra (MindTap Course List)
Elementary Linear Algebra (MindTap Course List)
Algebra
ISBN:
9781305658004
Author:
Ron Larson
Publisher:
Cengage Learning
Functions and Change: A Modeling Approach to Coll…
Functions and Change: A Modeling Approach to Coll…
Algebra
ISBN:
9781337111348
Author:
Bruce Crauder, Benny Evans, Alan Noell
Publisher:
Cengage Learning