I need help guys. what is purpose of samplesubmision file . Is there any relation between missing id error on submission and miss using of samplesubmision
The sample submission shows how your submission file should be. So, you can replicate it by converting the ID and their predictions into a dataframe and naming the columns as it is in the sample submission file. Remember to set index=False while saving the dataframe as a CSV file.
I need help guys. what is purpose of samplesubmision file . Is there any relation between missing id error on submission and miss using of samplesubmision
When exporting your submission file, do you use .to_csv(...,index=False)?
The omission of "index=False" is the usual cause of missing id error
Yess I use the above codes on exporting
The sample submission shows how your submission file should be. So, you can replicate it by converting the ID and their predictions into a dataframe and naming the columns as it is in the sample submission file. Remember to set index=False while saving the dataframe as a CSV file.