Air Pollution Problem

On submitting the csv file i am getting error. I have calculated my r2 score and it is coming out to be 96%. Pl. help

Link to my code : https://ide.codingblocks.com/s/174645

Hey @shubham_joshi

  1. I checked your code and it seems you were finding final predictions on the training data only rather than on the testing data.
  2. Add the column name “Id” in the header of the Index column.

I hope it helps!