Facing Problem in submission in Big Mart Practice DataSet

machine_learning

#1

Hi,
I am facing problem. while uploading CSV file to solution checker. It is showing that please check header. but my header of the dataset is exact same as error warning. Any suggestions?


#2

@Deepak_Singhal,
Did you put the header in inverted commas? If the problem stays upload your csv here.


#3

submission.csv (143.7 KB)


#4

solution.csv (143.7 KB)


#5

Link is blank.


#6

There may be a problem with server because I am on company’s server and may be I can’t upload any document. That’s why link is blank. Thanks I will check it later.
Thanks for help.


#7

@Deepak_Singhal I downloaded the sample submissions file and saw that the headers were different from what were mentioned in your CSV file. Please verify again.


#8

“Train_UWu5bXk.csv”, “Test_u94Q5KV.csv” files where i can download these files to train and test data set in the http://www.analyticsvidhya.com/blog/2016/02/complete-tutorial-learn-data-science-scratch/ web page example


#9

image

I’m getting this error on submission.

Any ideas on how to solve this issue?


#10

Hi @aadil03

please share a screenshot (the first few rows) of the file you are submitting


#11

Sure,

Here it is

image

Even after putting headers in inverted commas same error is coming.


#12

Please share your submission file with me. I will dm you my email id.


#13

Hi Aishwarya,

Here is file

my_submit.csv (164 KB)


#14

Hi @aadil03,

The format of Item_Outlet_Sales is not proper. It contains the serial number and the sales amount. However, it should only contain the sales amount. Can you please share the code that you have used to make the predictions and save them to csv format? That might help us to clarify your doubt in a better way.


#15

Hi @aadil03,

Your file looks like this:

Item_Identifier Outlet_Identifier Item_Outlet_Sales
FDW58 OUT049 0 1655.438
FDW14 OUT017 1 1365.554
NCN55 OUT010 2 598.388
FDQ58 OUT017 3 2341.174
FDY38 OUT027 4 6116.378
FDH56 OUT046 5 1813.895
FDL48 OUT018 6 723.888
FDC48 OUT027 7 1972.824
FDN33 OUT045 8 1593.163
FDA36 OUT017 9 3107.314
FDT44 OUT017 10 1849.495

Along with the outlet sales, you have index values present. In order to save the predictions, you can refer to the last section of the following course :

For R:

For Python(the course is for loan prediction but you can follow the steps to save the predictions from this) :

If you are unable to understand the steps to save predictions in csv file, let us know.


#16

Thanks a ton Aishwarya, issue has been resolved :slight_smile:


#17

Hi all,

I got error like this. help me please…
image

thanks


#18

Hi @giegie,

Could you share the submission file with me? I sent you my email ID.


#19

Hi @AishwaryaSingh,

Have a look at it, as i sent.
Thanks
gg