Quantcast
Channel: Data Science, Analytics and Big Data discussions - Latest topics
Viewing all articles
Browse latest Browse all 4448

Help with submission format because I receive a 0.0 score

$
0
0

@gt_67 wrote:

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 ?

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles