Primary competition visual

Xente Fraud Detection Challenge

Helping Uganda
$4 500 USD
Completed (over 6 years ago)
Classification
2031 joined
545 active
Starti
May 20, 19
Closei
Sep 22, 19
Reveali
Sep 23, 19
User avatar
The Malawi Polytechnic University
NA in Submission file
Data ยท 21 Sep 2019, 09:40 ยท 1

am kind of a newbie, what does the NA in the submission template file stand for and how do i create my submission file, please?

Discussion 1 answer
User avatar
Mugisha_

NA stands for not applicable.

Here is a snippet of how you can create a submission file

predictions = model.predict(test)

submission = pd.DataFrame({'TransactionId': test_id, 'FraudResult': predictions})

submission.to_csv('submission.csv',index=False)