Using the mtcars dataset, the displacement of the cars is predicted. Two models are used to predict the displacement. The first model uses weight for prediction while the second model uses both weight and horsepower for prediction.
June 9, 2020
Using the mtcars dataset, the displacement of the cars is predicted. Two models are used to predict the displacement. The first model uses weight for prediction while the second model uses both weight and horsepower for prediction.
It is observed that with increase in weight and horsepower, the displacement of a vehicle increases.