confounds
confounds copied to clipboard
MRG: implement ResidualizeTarget
implement ResidualizeTarget at HBM brainhack
You also need to few tests corresponding to this class!
-
undo changes to init.py
-
test is not correct, you ensure deconfounded targets (not X) are orthogonal to the confounds