Closed machow closed 6 years ago
I may have missed something, but it looks like some selectors are selecting minimally informative items.
https://github.com/douglasrizzo/catsim/blob/master/catsim/selection.py#L840-L842
Since np.argsort() sorts in ascending order, the Randomesque selector is choosing from the least X informative items.
np.argsort()
Should be a quick fix! Either by multiplying info by -1 or using reversed. Happy to open a PR!
reversed
Hey, thanks for the contribution! If you want to open two PRs or one PR for both issues to take credit for the fix, go ahead. I can also take a and fix it later.
I may have missed something, but it looks like some selectors are selecting minimally informative items.
https://github.com/douglasrizzo/catsim/blob/master/catsim/selection.py#L840-L842
Since
np.argsort()
sorts in ascending order, the Randomesque selector is choosing from the least X informative items.Should be a quick fix! Either by multiplying info by -1 or using
reversed
. Happy to open a PR!