You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
to_df casts everything to dense, which is a problem for the HRF property of BSM.
To be able to hand off HRF convolution to another program we need to be able to output sparse variables seperately from dense variables.
We need to add a mode that separate dense/sparse, and a different way of accessing the design matrix (aside from .X).
adelavega
changed the title
variables: Add sparse/dense more for to to_df, and add alternative design matrix API to access sparse variables
variables: Add sparse/dense mode for to to_df, and add alternative design matrix API to access sparse variables
Jun 2, 2022
This is actually more complex than it looks, because BIDSStatsModelsNodeOutput would need to keep in parallel both dense and sparse parts of the DM, so all logic downstream (i.e. handling intercept, expanding wild cards, etc), would have to be refactor to handle keeping the DM split.
pybids/bids/variables/collections.py
Lines 610 to 620 in f4bf70c
The text was updated successfully, but these errors were encountered: