Formatting predictions?

How are we supposed to format the predictions generated by our model? I got the probability of each case being either normal, post, or pre-Alzheimers and then added each of those probabilities to their corresponding lists. My submission gave an error, saying that the argument must be a string or a number, where am I going wrong because everything worked fine when I ran the notebook?



Hi @kapil_yadav,

The format of the prediction dataframe should be similar to the below table as mentioned on the overview page

row_id normal_diagnosis_probability pre_alzheimer_diagnosis_probability post_alzheimer_diagnosis_probability
23123_R2 0.8 0.1 0.1
46453_R4 0.1 0.33 0.54
98349_R1 0.02 0.9 0.03