June 9, 2020

Prediction of Displacement

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.

Displacement v/s Weight

Displacement v/s Horsepower

Conclusion

It is observed that with increase in weight and horsepower, the displacement of a vehicle increases.