How to calculate accuracy for the test data in Python?


Hello friends! I have calculated accuracy for the train data but i am unable to calculate for test data. Could anyone guide me how to do it? Thanks.


Hi @himitbarua,

You have to submit your predictions in the format provided in the workshop. to get the score.

After you get the predictions on test data, create a submission file containing all your predictions, and submit it on directly on the workshop. After you submit, you get a popup stating your score on the test set provided.

Hope it helps!


Thank you so much brother. It worked.