Rachit Gupta
09/15/2018
This is a very simple app to predict vehicles MPG using Mtcars dataset
Step 1: Select the characteristics of the car for which you want to predict the MPG.
Step 2: You can select parameters as Number of Cylinders(4-8) ,Displacement(50-600 cu.in.) ,Horse Power(50-350) ,Engine Type(V/S), Transmission Type(0-1/Automatic-Manual), Number of Gears(3-5) ,Number of Carburetors(1-8) to predict the MPG.
Step 3: Once selection is completed , click on the 'Click to predict your vehicles mileage'button.
Step 4: Prediction outcome i.e. predicted MPG value will be displayed in the main panel.
Step 5: Repeat the process to check variantion and co-relation between the parameters and MPG.
The application is build using Shiny package and the source code is in 2 files:
1. ui.R
2. server.R
Both files can be found here: https://github.com/guptrachit/Predict