How to submit predictions in Datathons/Data Sprints on DPhi?

Steps to submit prediction

  1. Load the testing data (i.e. testing_set_label.csv) and name it as new_test_data. You can load the data using the below command.
    new_test_data = pd.read_csv("testing_set_label.csv" )
    Here the target column is deliberately not there as you need to predict it.
  2. With the model you have built, predict the target variable on the testing set that you loaded in step 1. Store the predicted values of the testing set in a variable target.
  3. Save prediction result using the guidelines which are given below this section “how to save prediction file?” section.
  4. Submission: Upload the prediction file in CSV format under “submit” tab on the challenge page. Note: Make sure that the csv has the same header names as you are given in the test data.
  5. Once done, click on the ‘Make Submission’ button. You’ll be able to see your submission with the evaluation score.

How to save a prediction file

Please follow the steps given here: Datathons/Saving_prediction_file.ipynb at master · dphi-official/Datathons · GitHub

Submit your prediction file CSV

Once you save your predictions in csv, you can simply upload it under the “submit” tab of the problem and check your score against an evaluation metric.

Number of Submissions

There is no limit on the number of submissions. One can do any number of submissions each day until the deadline of the Data Sprint.


halo, i’m confuse about how to upload the csv file for the result prediciton?

Hi @nurftimsh
I can see you were able to submit the predictions. If there is any issue, please let me know.

hi! when will we get the certificate for this bootcamp?

1 Like

Hello. my assignment is complete. but I can’t submit it. the error is " Submitted file has invalid shape when compared to truth file" what does that mean.?

1 Like

Every after Submission, my score is null. Please tell me , how can I fix this?

I am not able to Unzip the file in Colab environment. It is the issue since last few days. I initially thought it will work after sometime but its not. Can someone please help!