Primary competition visual

Xente Fraud Detection Challenge

Helping Uganda
$4 500 USD
Completed (almost 7 years ago)
Classification
2070 joined
545 active
Starti
20 May 19
Closei
22 Sep 19
Reveali
23 Sep 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)