The common groups parameter currently accepts the explicit standard group format (i.e. a list of numpy arrays where each array represents a group and each element of the array represents a feature index that belongs to that group) or None, in which case all features are assigned to one group.
We should also allow users to input a single integer s, in which case we will create contiguous groups of size s until all features are accounted for.
@arokem, @mnarayan Any other input behaviors we'd like to try?
The common
groupsparameter currently accepts the explicit standard group format (i.e. a list of numpy arrays where each array represents a group and each element of the array represents a feature index that belongs to that group) orNone, in which case all features are assigned to one group.We should also allow users to input a single integer
s, in which case we will create contiguous groups of sizesuntil all features are accounted for.@arokem, @mnarayan Any other input behaviors we'd like to try?