Hi, I want to know why my score is showing zero. There is no error and I have predicted everything after testing it on the validation set. It's not possible to be at 0. I checked, and most of the submissions are at 0 for no reason. I tried submitting files and notebooks separately.
Your score might be showing zero on Kaggle competition because your output data type is not the same as what they asked for in the submission.csv file. Please make sure to recast your data in the right format and submit it once again.
Tensorflow output is in float and most of the time they want the answer in int in classification competition.
submission = test_df[['id']].reset_index(drop=True) # see here you have to cast the output to int64 this way submission['target'] = tf.cast(pred, tf.int64) # then submit it to the csv like this. submission.to_csv('submission.csv', index=False)
Please close the topic if your issue has been resolved. Add comments to continue adding more context or to continue discussion and add answer only if it is the answer of the question.
___
Neuraldemy Support Team | Enroll In Our ML Tutorials