Help with submission format because I receive a 0.0 score


#1

Hello,
I have problem with the submission format of my solution. Basically I create a dataframe with first column “Loan_ID” and the second column with the predictions:

pd.DataFrame({‘Loan_ID’: df_test[“Loan_ID”],
‘Loan_Status’: predictions.astype(numpy.int64, copy=False)}
).to_csv(“submission1.csv”, index=False)

and I obtain something like this (first 5 rows):

Loan_ID,Loan_Status
LP001015,1
LP001022,1
LP001031,1
LP001035,0
LP001051,1

But when I submit it, I receive a 0.0 score.

The Sample Submission doesn’t help at all beacuse is simply:
Loan_ID,Loan_Status

I’m getting crazy, guys, someone could give me a suggestion ?


#2

Hope this helps.


#3

Thanks dude, it was very usefull.

However, just as advice for everyone that will read this, you can omit the " and the solution is accepted.


#5

Hi, I have a problem with uploading too. I receive this message after submitting my result:
Error: Third key should be Outcome


#6

Hello, please upload an example so se can understand


#7

i was having the same problem but now it is resolved


#8

It looks it is resolved. No more error while uploading the solution file. Thanks for informing.


#10

I am not able to use the solution checker.
Nothing happens when I click on “Add solution”. I have used the format for submission file as below-

Loan_ID,Loan_Status
LP001015,1
LP001022,1
LP001031,1
LP001035,1
LP001051,0


#11

Hi,

As mentioned in one of the earlier response in this thread; Loan_status should be in {Y, N}. Not in {1, 0}