How to calculate accuracy for the test data in Python?


#1

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.


#2

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!


#3

Thank you so much brother. It worked.