I’m trying to submit my predictions for round 285 (data version 2) with the same code as last week, but get this error: “ValueError: Invalid submission values. Values must be between 0 and 1 exclusive.”. My value are positively between 0 and 1 (actuall even between 0.25 and 0.8). I get the same error using csv, df, or manual upload.
Found the issue - apparently, my cache had a bug not overwriting the tournament file with the latest version. It seems that the length of the tournament file has changed from round 284 (by 1). This presumably caused the somewhat cryptic error message.
I had same problem because a couple of my predictions was equal to 1.0000000000002, even if I performed a minmax transform at the end of pipeline, double check it
I would suggest using two calls to argsort (I think that’s the Python function) rather than normal rescaling to create the submissions, as from what I understand that’s what’s done anyway. E.g.
suppose R is your calculated result. Then calculate
and submit based on R2 rather than a rescaled version of R. (my syntax is probably screwy since I don’t speak Python, but if you catch my drift…) I’m assuming the array is zero-based indexing, not 1 based.
This gives you uniformly spaced values in (0,1), and you don’t need to keep more than four or five decimal places.
Well, what about the actual error that it is giving? What are the min and max values of your predictions? If there are any at 0 or below or 1 or above, they are invalid – please note that 0 and 1 themselves are invalid (must be between).