Closed JamesYang007 closed 3 months ago
Actually we can just implement a MatrixNaiveColumnSubset
! The way to induce this is to do X[something, subset]
.
I'm more convinced that MatrixNaiveCSubset
is the move. With arbitrary group structure, it is unclear how the solver should interpret some columns of a group being excluded when it is also specified to be in the group. The user should be responsible for first subsetting the columns. Moreover, it is their responsibility (if they want performance) to construct a fresh matrix with contiguous ordering. However, we make it possible to run lasso at least with MatrixNaiveCSubset
.
MatrixNaiveCSubset
implement and testMatrixNaiveRSubset
implement and test
It would be nice to have a
exclude
vector that indicates which groups to exclude.