Is your feature request related to a problem? Please describe.
When n_informative > n_dim we currently raise a ValueError. This means that every time we have a n_dim < 256, the user has to change both parameters.
Describe the solution you'd like
When n_informative < n_dim, we should set n_informative = n_dim and then raise a warning that we did so.
Is your feature request related to a problem? Please describe. When
n_informative > n_dim
we currently raise a ValueError. This means that every time we have an_dim < 256
, the user has to change both parameters.Describe the solution you'd like When
n_informative < n_dim
, we should setn_informative = n_dim
and then raise a warning that we did so.