DEV Community

Cover image for Azure ML - Automobile Price Predictor
Vignesh C
Vignesh C

Posted on

Azure ML - Automobile Price Predictor

The objective is to create and train a Machine Learning model to predict automobile price based on different parameters using Azure ML and public data set. We will also go a step further to set up and deploy web service.

Steps:

1) Navigate to https://studio.azureml.net/ and sign up / sign in.

2) Add new experiment using the (+) symbol at the bottom and select blank experiment.

Image description

3) Leverage the public data set - Automobile price data set and drag it to the mapping area.

Image description

Click and select Visualization

Image description

4) Search experiment items for "Select Columns in Dataset". Drag it to the mapping area to include All columns
Excluding the column 'normalized-losses'.

Image description

Image description

5) Link them as below.

Image description

6) Search experiment items for "Clean Missing Data". Drag it to the mapping area to the next step. Add the cleaning mode to remove entire row.

Image description

7) Save and Run experiment.

8) After careful feature engineering, determine the key parameters and select only those columns from the data set. In order to train the data set we also feed the price field.

Image description

Image description

9) Now we introduce a step to Split data. 75% of data will be used for training the model. Introduce the below step

Image description

Image description

10) For price prediction, we will use linear regression to train the model. Introduce the below steps.

Image description

Image description

Image description

11) Score the model

Image description

Image description

12) Evaluate the model and visualize

Image description

Image description

13) The model is now ready to be deployed. Below changes are done to exclude exact price field in real time. We will use the Scored Labels.

Image description

Image description

Image description

14) Now we are ready to set the web service

Image description

Image description

15) We will feed the input of web service to the score model. Run the experiment and deploy the web service

Image description

16) API key has been generated for further usage of web services.

Image description

17) Test the model with real time data

Image description

Top comments (0)