Message357265
xtreak, the other discussion isn't similar at all. The OP is proposing that weights all equal to zero be a well-defined way to specify an equiprobable selection. That is a completely new proposal which is easy to implement, but doesn't make much sense to me.
The current concept is that the weights express an odds ratio where a zero weight means that an event has no chance of being selected. This view implies that if all weights are zero, the result is undefined (or an error).
Iza, it seems to me that the provided examples are conflating a zero incremental preference with a zero chance of occurrence. |
|
Date |
User |
Action |
Args |
2019-11-22 10:35:37 | rhettinger | set | recipients:
+ rhettinger, tim.peters, mark.dickinson, xtreak, IRomanowska |
2019-11-22 10:35:37 | rhettinger | set | messageid: <1574418937.46.0.326181452479.issue38881@roundup.psfhosted.org> |
2019-11-22 10:35:37 | rhettinger | link | issue38881 messages |
2019-11-22 10:35:37 | rhettinger | create | |
|