Submiting the file

I have done my part of code and r2 score with my calculations is 96+ I have generated the res.csv with index column true and appropriate heading but still on submitting it not evaluating probably because of the format …
sample o/p
Id,target
0,-62.689628805236936
1,-94.01867942172318
2,48.826930073813884
3,5.014262813945145
4,-50.02609297256918
5,-139.31643723490868
6,20.34106086088717
7,-38.49487973986018
8,13.199396640520623
9,-92.74404602745697
10,-50.51361196170079
11,67.34870115105554
12,-108.77333604187639
13,-141.04457938851613
14,-156.76921171010136
15,32.36019057080348

df = pd.DataFrame(y_) df.index.name = “Id” df.columns = [“target”] # df.columns = [“Id”,“target”] df.to_csv(“ans.csv”,index=True)

Please share your code and the csv file

https://drive.google.com/open?id=1XjiWWoe4ov-5vCdpntAF5q9aLHzEr-kw

the shared link has my csv and the source code itself

Your code is fine but you have to submit predictions of test.csv, you are just submitting predictions for your training data