It would be useful to add custom encoders not only for obs, but also for the X matrix. This would allow e.g. to let the user decide whether they want a sparse or a dense without relying on a flag (currently return_sparse_X), provide a different formats for sparse matrices, etc.
Description
It would be useful to add custom encoders not only for
obs
, but also for the X matrix. This would allow e.g. to let the user decide whether they want a sparse or a dense without relying on a flag (currentlyreturn_sparse_X
), provide a different formats for sparse matrices, etc.