Back to DrivenData | Blog

How do I get the right submission format?

Hey there,

i’m relatively new to machine learning. I don’t know how to get the right submission format.

What does this mean?
“probabilities that a patient has heart disease (not the binary label)”

Thanks

A probability in this case means a floating point number anywhere between 0.0 and 1.0. A binary label would mean predicting no (0) or yes (1).

I am getting an error : IDs for submission are not correct.
There are 90 test observations and model indeed does give 90 predictions. I have also used predict_proba to get the probability. Rounded it off to 1 decimal place. But I still am facing problem in uploading to get the result.