[Python-Dev] set iteration order
Hagen Fürstenau
hagen at zhuliguan.net
Sun Feb 27 09:41:28 CET 2011
>> It's not a matter of dependence on iteration order, but of
>> reproducibility (in my case there were minor numerical differences due
>> to different iteration orders).
>
> Can you give a code example? I don’t understand your case.
It's a bit involved (that's why it took me a while to locate the
difference in behavior), but it boils down to a (learning) algorithm
that in principle should not care about order of input data, but will in
practice show slightly different numerical behavior. I ran into the
problem when trying to exactly reproduce previously published
experimental results. Of course, I should have anticipated this and
fixed some arbitrary order in the first place. I just thought a note
about this change might save someone in a similar situation some confusion.
Cheers,
Hagen
More information about the Python-Dev
mailing list