ERROR! Values must be between 0 and 1 exclusive

I am getting strange error saying “Invalid submission values. Values must be between 0 and 1 exclusive.” even though there is no number in negative or >1 in my submission file.

I am currently limiting my predictions to 4th decimal place. Also tried with several different places but still no luck.

Any idea what could be a issue here ?
Thanks in advance

Make sure you have no values that are 0.0000 or 1.0000 (if you are using 4 decimal places).

Also, the actual values of your predictions don’t matter, it’s the relative ordering that actually matters, so using something like “preds = minmax_scale(preds, feature_range=(0.25,0.75))” would solve your problem.

3 Likes